JCLCheck TWS interface: variable substitution does not show in EJCK
search cancel

JCLCheck TWS interface: variable substitution does not show in EJCK

book

Article ID: 97565

calendar_today

Updated On:

Products

JCLCheck Workload Automation

Issue/Introduction

The JCL contains the following:


.... 
000017 //OUT DD DSN=CFTU.PRODE.MC284011.P0100903.D2008.D&TDATE
000018 // SPACE=(CYL,(5,5),RLSE),DISP=(,CATLG,DELETE),RECFM=FB, 
000019 // LRECL=500, 
000020 // UNIT=SYSDA 
... 

 

When validating the JCL using JCLCheck in batch mode, the variable shows resolved: 

//OUT DD DSN=CFTU.PRODE.MC284011.P0100903.D2008.D1805, 

When validating the JCL using the EJCK command, the variable does not show resolved if the JCL has no error.

If the JCL has errors, the EJCK command returns: 



...
.AAABB //OUT      DD DSN=CFTU.PRODE.MC284011.P0100903.D2008.D&TDATE,
==MSG> //OUT      DD DSN=CFTU.PRODE.MC284011.P0100903.D2008.D1805,
.AAABC //         DISP=SHR
==MSG> //         DISP=SHR
==MSG> CAY6079E DATA SET "CFTU.PRODE.MC284011.P0100903.D2008.D1805" SPECIFIED
==MSG>          AS OLD OR SHR, BUT CANNOT BE FOUND
==MSG>
...


Environment

Release: 12.0

Component: JCLCheck Workload Automation

Resolution

The EJCK command works as designed.   

Use command EJCK REPORTS to produce a full JCLCheck listing in order to view the resolved variables.