CAY6061E DSNAME "dataset_name" NOT FOUND IN CATALOG
search cancel

CAY6061E DSNAME "dataset_name" NOT FOUND IN CATALOG

book

Article ID: 262482

calendar_today

Updated On:

Products

JCLCheck Workload Automation

Issue/Introduction

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? 

Environment

Release : 12.0

Component: JCLCheck Workload Automation

Cause

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).

Resolution

Run JCLCheck against the job (JCL member) that will be executed. 

JCLCheck will resolve and validate PROCedures, and INCLUDE members.