How to resolve/substitute user-defined variables before JCL validation takes place?
Release: All
Component: JCLCheck Workload Automation
Use JCLCheck runtime option CHANGE to request that JCLCheck substitute variables before JCL validation takes place.
Example: CHANGE=(JCL,hlq.variables.list)
Create a sequential file named "hlq.variables.list". Sample content:
* THIS IS A COMMENT STATEMENT
CHANGE (?%)=(MM)
CHANGE (!%)=(YY)
CHANGE (TEST.)=(PROD.)
When JCLCheck is executed, each JCL statement is examined against the table in data set "hlq.variables.list". If a match is found, the 'from' data string is converted to the 'to' data string. After the conversion completes, the JCL validation takes place. The changes are temporary, and the input JCL member is unaffected.
If variable substitution needs to be done for both the inline control statements and JCL statements, use CHANGE=(BOTH,hlq.variables.list).
If variable substitution is needed only for inline control statements, use CHANGE=(CTL,hlq.variables.list).