How to List Elements Using a Specific Dataset as an Input Component - Endevor
search cancel

How to List Elements Using a Specific Dataset as an Input Component - Endevor

book

Article ID: 452720

calendar_today

Updated On:

Products

Endevor

Issue/Introduction

Trying to identify all elements that have a specific dataset name as an input component.

 

Environment

Endevor all supported versions

Resolution

Use the C1BM3000 utility with the following JCL:

//STEP1 EXEC PGM=NDVRC1,PARM=C1BM3000,                     
//         REGION=4M,DYNAMNBR=1500                            
//STEPLIB  DD DISP=SHR,DSN=iprfx.iqual.CSIQAUTU        
//         DD DISP=SHR,DSN=iprfx.iqual.CSIQAUTH        
//CONLIB   DD DISP=SHR,DSN=iprfx.iqual.CSIQLOAD        
//C1MSGS1  DD SYSOUT=*                                        
//SYSOUT   DD SYSOUT=*                                        
//SYSPRINT DD SYSOUT=*                                        
//SYSTSPRT DD SYSOUT=*                                        
//C1PRTVB  DD DSN=your.output,                         
//         DISP=(NEW,CATLG,DELETE),                           
//         DCB=(DSORG=PS,RECFM=VB,LRECL=27994,BLKSIZE=0),     
//         SPACE=(CYL,(10,10),RLSE)                           
//*
//BSTIPT01 DD *
LIST ELEMENT *
FROM ENVIRONMENT 'YOUR_ENV'
SYSTEM * SUBSYSTEM * TYPE * STAGE *
TO DDNAME C1PRTVB
OPTION WHERE INPUT COMPONENT EQUAL *
DSNAME 'your.dataset.name' .