Is there a way identify all elements using a particular COPYBOOK or MACRO using Endevor?
All Supported Releases
The Automated Configuration Manager (ACM) is the facility that allows you to monitor selected libraries and data sets and maintain a component list for each element in the monitored areas.
The component list provides an audit trail of program-component information at the time of each compilation.
The ACM Query Facility allows to easily answer the need, it may be use in foreground or in Batch.
Here are the ways to identify COPYBOOK or MACRO, as any other input component using Batch,
1 - Using ACM Query Utility :
//********************************************************************
//* EXECUTE THE ACM QUERY EXPLOSION REPORT
//********************************************************************
//ACMCPY31 EXEC PGM=NDVRC1,PARM='BC1PACMQ',REGION=0M
//STEPLIB DD DISP=SHR,DSN=your.endevor.CSIQAUTU
// DD DISP=SHR,DSN=you.endevor.CSIQAUTH
//CONLIB DD DISP=SHR,DSN=you.endevor.CSIQLOAD
//SYMDUMP DD DUMMY
//SYSUDUMP DD SYSOUT=*
//ACMOUT DD SYSOUT=*,DCB=RECFM=FBA
//ACMMSGS1 DD SYSOUT=*
//ACMMSGS2 DD SYSOUT=*
//ACMSCLIN DD *
LIST USING COMPONENTS FOR
ELEMENT 'yourCOPYBOOK'
ENVIRONMENT *
SYSTEM *
SUBSYSTEM *
TYPE *
STAGE NUMBER * .
Change '*' to specific values in order to limit the query.
2 : Run Autogen in Simulation Mode
Append the EN$AUSIM DD statement to your GENERATE batch job that includes Autogen options:
//EN$AUSIM DD SYSOUT=*
C1MSGS1 sysout will show a heading line, labeled "*** AUTOGEN SIMULATION ***" to indicate that the job ran in simulation mode.