CA JCLCheck Workload Automation option to resolve user variables prior to JCL validation.

Document ID : KB000024503
Last Modified Date : 14/02/2018
Show Technical Document Details

Introduction:

CA JCLCheck WA runtime option "CHANGE" allows you to make substitution of JCL or variables before JCL validation takes place.

 

Instructions: 

  1. Set runtime option: CHANGE=(JCL,hlq.var.list)

  2. Create a sequential file named "hlq.var.list". Sample content:

    * THIS IS A COMMENT STATEMENT  
    CHANGE (?%)=(MM)
    CHANGE (!%)=(YY)
    CHANGE (TEST.)=(PROD.)

When CA JCLCheck WA is excuted, each JCL statement is examined against the table in data set "hlq.var.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.var.list). If variable substitution is needed only for inline control statements, use CHANGE=(CTL,hlq.var.list).

 

As always, please contact CA Technologies support for CA JCLCheck Workload Automation if you have further questions