PURPOSE: The equated command IMPACT prints a report of all references to a specified SD, DS, DI, ID or GS contained in a DBL. This is useful when deleting, renaming, or modifying a DBL object . It is also useful when converting an application to use simultaneous update. The appropriate DS’s, DI’s, SD’s and IDs can be checked to see if they are RELATEd with the correct allowing clauses. CM are not examined and are not included in the report.
IMPACT
The following example shows an IMPACT session. Responses to prompts are in bold print. If a DBL is declared, the prompt for a DBL name is skipped.
*IMPACT<CR>
VERSION 3.02
Enter ? at any prompt for HELP
Enter the name of the DATA BASE LIBRARY or QUIT: BOOKS <CR>
Enter the entry type (SD, DS, ID, DI, GS) or QUIT: SD<CR>
Enter the name of the SD to cross reference or QUIT: BOOKS<CR>
Name for the Impact report (<CR>=IMPACT.RPT): <CR>
Your Impact report is in IMPACT.RPT.
To view the report, use the LIST command.
*LIST SF IMPACT.RPT |
IMPACT REPORT Apr 4, 1997 |
|
SD Name: |
BOOKS |
|
Created: |
10-Dec-1996 12:16:42 |
|
Last Changed: |
10-Dec-1996 12:16:42 |
|
Save Status: |
YES |
|
SD checksum: |
-1924013284 |
|
Data Sets (DS) |
CF name |
|
BOOKS |
||
Data Indexes (DI) |
DS name |
ID name |
BOOKS |
BOOKS |
|
Index Definitions (ID) |
||
None found |
||
Process Modules (PM) |
||
QUICK_REP |
||
RELATE DS BOOKS IN DBL BOOKS AS AUX1 FOR GET |
||
UPDATE_SALES |
||
RELATE DS BOOKS IN DBL BOOKS AS MASTER FOR GET |
NOTES: An error message will be displayed if incorrect information is entered at the IMPACT prompts. The prompt is then repeated.
In addition to tracking the object, IMPACT displays all of the information on that object in the DBL. This chart shows what other object types are evaluated for the specified object type:
Entry type to be tracked |
SD |
DS |
DI |
ID |
CF |
PM (RELATE statements that reference the entry) |
SD |
X* |
X |
X |
X |
X |
SD, DS’s, DI’s, ID’s |
DS |
X* |
X* |
X |
X |
X* |
DS, DI’s |
DI |
X* |
X* |
X* |
X* |
X* |
DI |
ID |
X* |
X |
X |
X* |
X |
ID, DI’s |
GS |
|
|
|
|
|
GS |
* Only one possible name is displayed.
SEE ALSO: LIST Command, GET Statement