Running JCLCHECK against an INCLUDE member as follows:
********************************* Top of Data **************************
//* INPUT AND OUTPUT DATASET ALLOCATION
//DATAIN1 DD DSN=&AB.&CD.TEXT,DISP=SHR
//DATAOU1 DD DSN=&AB.&CD.TEXT.COPY,
// DISP=(,CATLG,DELETE),DCB=TEST.NUMBER.DSCB,
// UNIT=VTS,VOL=(,RETAIN,,10),
// LABEL=(1,SL),EXPDT=1999/000,
// RECFM=FS
******************************** Bottom of Data ************************
JCLCheck returns error message CAY6061E DSNAME "TEST.NUMBER.DSCB" NOT FOUND IN CATALOG
Data set TEST.NUMBER.DSCB is allocated and cataloged so why is message CAY6061E issued?
Release : 12.0
Component: JCLCheck Workload Automation
The JCL member is not a valid job. In other words, the above INCLUDE member is not an executable job; it does not have EXEC statement(s).
Run JCLCheck against the job (JCL member) that will be executed.
JCLCheck will resolve and validate PROCedures, and INCLUDE members.