Invalid CAY6079E for the second of two existing TEMP datasets with the different name resident.
search cancel

Invalid CAY6079E for the second of two existing TEMP datasets with the different name resident.

book

Article ID: 111214

calendar_today

Updated On:

Products

JCLCheck Workload Automation

Issue/Introduction

If JCL refers to the same temporary dataset in JCL using both   a && and & prefix (ie. &&temp and &temp) JCLCheck treats these as  different datasets. 
This may cause a CAY6079E message when the file was created in a earlier step.  

Sample JCL: 

//STEP1 EXEC PGM=IEHLIST
//DD1 DD UNIT=SYSDA,VOL=SER=TSO10B,DISP=SHR
//SYSPRINT DD DSN=&&LIST,UNIT=SYSDA,DISP=(,PASS),SPACE=(CYL,(10,10))
//SYSIN DD *
LISTPDS DSNAME=COPYLIB,VOL=SYSDA=TSO10C
/*
//STEP2 EXEC PGM=SORT
//SORTIN DD DSN=&LIST,DISP=(OLD,DELETE)
//SORTOUT DD SYSOUT=*
//SYSPRINT DD SYSOUT=*
//SYSOUT DD SYSOUT=*
//SYSIN DD *
SORT FIELDS=(22,8,A),FORMAT=CH
END
                              

Environment

Release: 12.0

Component: JCLCheck Workload Automation

Resolution

Apply PTF SO04617 to correct to this problem.

Additional Information

CIRCUMVENTION:                                                          
Use the same format for all references to the temp file.