Searching for the impacted programs by a copybook change is pretty common scenario in development. Endevor has a cool feature called ACMQ (Automated Configuration Manager query) to get this done.
Type “ACM” from the Endevor main menu. This command may be different in your installation. Now fill in copybook and other fields as shown below and press ENTER key.
--------------------------------- ACM QUERY ---------------------------------
OPTION ===> _________________________________________________________
BLANK - Perform Element query C - Perform Comment query
M - Perform Member query O - Perform Object query
ELEMENT/MEMBER ===> MYCPYBOK
ELEMENT Query Information: Query Options:
ENVIRONMENT ===> * Where-used/Components used ===> WHE (WHE/COM)
SYSTEM ===> * Foreground/Batch Mode =========> F (F/B)
SUBSYSTEM ===> * Create GENERATE SCL =========> N (Y/N)
TYPE ===> * Exclude circular references ===> N (Y/N)
STAGE NBR ===> * (1/2/*) Exclude indirect references ===> N (Y/N)
Exclude related references ===> N (Y/N)
MEMBER Query Information:
DSNAME ===> *
COMMENT/OBJECT Query Information:
________________________________________________________________________
You will get the below screen showing all the impacted programs by the copybook.
Menu Utilities Compilers Help
sssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss
BROWSE SYS11362.T172928.RA000.TSUXXXX.ACMQ.H06 Line 00000000 Col 001 080
Command ===> Scroll ===> CSR
********************************* Top of Data **********************************
17:29:28 ACMQ203I LIST USING COMPONENTS FOR
17:29:28 ACMQ204I ELEMENT MYCPYBOK ENVIRONMENT *
17:29:28 ACMQ205I SYSTEM * SUBSYSTEM *
17:29:28 ACMQ206I TYPE * STAGE NUMBER *
17:29:28 ACMQ408I OPTIONS
LVL ELEMENT TYPE ENVIRON SYSTEM SUBSYS STG
1 MYCPYBOK COPY TESTA1 FNAC S9000 1
2 TESTPGM1 BATCOB PROD FNAC S9000 2
2 TESTPGM2 BATCOB PROD FNAC S9000 2
2 TESTPGM3 BATCOB PROD FNAC S9000 2
2 TESTPGM4 BATCOB PROD FNAC S9000 2
2 TESTPGM5 BATCOB PROD FNAC S9000 2
If you want to run this in batch, then set “Foreground/Batch Mode” option to “B”
--------------------------------- ACM QUERY ---------------------------------
OPTION ===> _________________________________________________________
BLANK - Perform Element query C - Perform Comment query
M - Perform Member query O - Perform Object query
ELEMENT/MEMBER ===> MYCPYBOK
ELEMENT Query Information: Query Options:
ENVIRONMENT ===> * Where-used/Components used ===> WHE (WHE/COM)
SYSTEM ===> * Foreground/Batch Mode =========> B (F/B)
SUBSYSTEM ===> * Create GENERATE SCL =========> N (Y/N)
TYPE ===> * Exclude circular references ===> N (Y/N)
STAGE NBR ===> * (1/2/*) Exclude indirect references ===> N (Y/N)
Exclude related references ===> N (Y/N)
MEMBER Query Information:
DSNAME ===> *
COMMENT/OBJECT Query Information:
________________________________________________________________________
If you want to generate all the impacted programs, you can easily generate SCL for them. In the below screen, set “Create GENERATE SCL” to “Y” and press ENTER key
--------------------------------- ACM QUERY ---------------------------------
OPTION ===> _________________________________________________________
BLANK - Perform Element query C - Perform Comment query
M - Perform Member query O - Perform Object query
ELEMENT/MEMBER ===> MYCPYBOK
ELEMENT Query Information: Query Options:
ENVIRONMENT ===> * Where-used/Components used ===> WHE (WHE/COM)
SYSTEM ===> * Foreground/Batch Mode =========> F (F/B)
SUBSYSTEM ===> * Create GENERATE SCL =========> Y (Y/N)
TYPE ===> * Exclude circular references ===> N (Y/N)
STAGE NBR ===> * (1/2/*) Exclude indirect references ===> N (Y/N)
Exclude related references ===> N (Y/N)
MEMBER Query Information:
DSNAME ===> *
COMMENT/OBJECT Query Information:
________________________________________________________________________
In the below screen supply your personal PDS to store the SCL statements.
--------------------------- ACM Create GENERATE SCL ---------------------------
COMMAND ===> _________________________________________________________
Action Options:
CCID ===> ____________ COMMENT ===> ________________________________________
COPYBACK ===> N (Y/N)
NOSOURCE ===> N (Y/N)
To GENERATE W/COPYBACK or NOSOURCE specify ENV/STG and optionally SYS/SBS:
ENVIRONMENT ===> ________
STAGE NUMBER ===> _
SYSTEM ===> ________ SUBSYSTEM ===> ________
REQUEST DATA SET:
PROJECT ===> ________ APPEND ===> N (Y/N - F/G only)
GROUP ===> ________ STOPRC ===> 12 (4/99)
TYPE ===> ________
MEMBER ===> ________
OTHER PARTITIONED OR SEQUENTIAL DATA SET:
DSNAME ===> 'TSUXXXX.TESR.SCL(SCL)'___________________
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.