Using ROSCOE command JCK to validate a JCL with a HFS/ZFS file name. Sample JCL:
//JCROSCOE JOB JCROSCOE,'2 ORDERS',MSGCLASS=O,CLASS=K,REGION=4M
//*------------------------------------------------------------------*
//* COPY HFS FILE TO MAINFRAME
//*------------------------------------------------------------------*
//J03 EXEC PGM=IKJEFT01
//STDOUT DD SYSOUT=*,DCB=(RECFM=V,LRECL=256)
//IN DD PATH='/USER/APPL/TEMP/HBCBPSMG.H2BGVCP7.OUT'
// PATHOPTS=ORDONLY
//OUT DD DSN=JCROSCOE.MODEL.HFS.DETAIL(+1),
// DISP=(NEW,CATLG,DELETE),
// SPACE=(TRK,(30,3),RLSE),
// DCB=(DSORG=PS,RECFM=FB,BLKSIZE=23456,LRECL=32)
//SYSTSPRT DD DUMMY
//SYSTSIN DD *
OCOPY INDD(IN) OUTDD(OUT) TEXT CONVERT((BPXFX311)) TO1047
/*
JCK fails with the following error:
//IN DD PATH='/USER/APPL/TEMP/HBCBPSMG.H2BGVCP7.OUT',
// PATHOPTS=ORDONLY
CAY6392E UNKNOWN PATH VALIDATION ERROR - RETURN CODE = '0000009C', REASON
CODE = '0B0C00FB'
The same JCL is validated without error using JCLCheck in batch mode, and EDCHEK in TSO/ISPF.