Is there an Endevor Report to show an element that used a specific copybook
search cancel

Is there an Endevor Report to show an element that used a specific copybook

book

Article ID: 214319

calendar_today

Updated On:

Products

Endevor

Issue/Introduction

There is a need to find all cobol pgorams that used a certain copybook. The generate date for the cobol programs must have taken place between 01/01/2020 and 05/01/2021. Does Endevor have a report that can provide this data? If no, then how can this information be provided? 

Environment

Release : 18.1

 

Resolution

There is no canned report that will provide this data.  However, if a LIST ELEMENT * is executed with specific generate from and thru dates as well as the ACM RELATED INPUT COMPONENT clause is used, the information can be found.  Below is a sample JCl and SCL Syntax that can be used:

//STEP1     EXEC PGM=NDVRC1,PARM=C1BM3000          
//STEPLIB  DD   DISP=SHR,DSN=your.endevor.CSIQAUTU 
//                 DD   DISP=SHR,DSN=your.endevor.CSIQAUTH   
//CONLIB   DD   DISP=SHR,DSN=your.endevor.CSIQLOAD   
//SORTWK01  DD  UNIT=SYSDA,SPACE=(CYL,(1,1))       
//SORTWK02  DD  UNIT=SYSDA,SPACE=(CYL,(1,1))       
//SORTWK03  DD  UNIT=SYSDA,SPACE=(CYL,(1,1))       
//C1MSGS1   DD  SYSOUT=*                           
//C1MSGS2   DD  SYSOUT=*                           
//C1PRINT   DD  SYSOUT=*                           
//SYSPRINT  DD  SYSOUT=*                           
//SYSABEND  DD  SYSOUT=*                           
//SYSOUT    DD  SYSOUT=*                           
//LISTFILE  DD  SYSOUT=*                           
//BSTIPT01  DD  *                                  
LIST ELEMENT *                                     
   FROM ENVIRONMENT PROD                      
        SYSTEM      SYSTEM1                    
        SUBSYS      SUBSYS1                              
        TYPE        COBOL                          
        STAGE       *                              
TO SYSOUT                                          
WHERE GENERATE FROM DATE 01/01/20                  
WHERE GENERATE THROUGH DATE 05/04/21               
WHERE RELATED INPUT COMPONENT COPY1.  

For more see the list element SCL syntax