The JCLCheck RESOLVE option allows for external variables that are imbedded in the JCL for a scheduling product to be resolved before the JCL is validated. The following scheduling products are supported:
The JCLCheck RESOLVE option may be used from the following:
1. From an ISPF Edit session when EJCK is executed.
2. From the JCLCheck ISPF panel interface (JCKSPF).
3. From a JCLCheck batch job.
This article explains how to use the JCLCheck RESOLVE option when invoking EJCK from within an ISPF Edit session on an ESP job.
Without the JCLCheck RESOLVE option, external variables won't be resolved, and will result in errors when the JCL is validated by JCLCheck.
JCLCheck Workload Automation release 12.0
Workload Automation ESP release 11.4 and higher
Requirement:
A pre-defined sequential file or PDS member containing ESP parameters. In this article, the sample data set name is 'PUBLIC.ESPWA.RESOLVE' and contains the following parameters:
Reference: Specify ESP Parameters
Instructions:
Example:
Sample JCL containing ESP symbolic variables, and user-defined variables:
JCK21 ------------- CA JCLCheck 12.0 OPTIONS --------------------------
COMMAND ===>
DATE: 2023/05/23 USER: TIME: 10:53
STANDARD - Name of STANDARD for compliance checking =>
=> => => => =>
=> =>
STDREXX - Compliance checking REXX: EXEC =>
REXX Library DD (optional) =>
REXX Library DSN (optional):
=>
SYNTAX - Do syntax checking of JCL => Y
RUNTIME - Do runtime checking of JCL (all runtime checks) => Y
REMOTE - Do remote validation of JCL => N
REMVAL file option (B-browse, E-edit, blank) =>
REMVAL =>
RESOLVE - Resolve external variables by calling product. . . . => E
RESPARM file option (B-browse, E-edit, blank) =>
RESPARM file DSN => PUBLIC.ESPWA.RESOLVE
Member name =>
EDCHKLB - Generate ISPF labels for lines with errors => N
EDCHKSL - Display summary of errors => N
SECURITY - Do Security Checking => N
USER - Specify Userid for security checking =>
CA7 - Scheduled override criteria.... ID => DT => TM =>
BYPASS THIS SCREEN NEXT TIME................................ => Y
Recommended Readings:
Configure JCLCheck to Resolve External Variables
RESOLVE option