How to activate the CA JCLCheck Workload Automation REXX Interface

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

Question: 

How do I activate the CA JCLCheck WA REXX interface to help enforce site standards by issuing messages when the standards are not met?

Answer: 

To activate the REXX interface when running CA JCLCheck WA in batch mode using CAZ2PROC member CAZ1JCHK or similar JCL:

    1. Allocate the library where the REXX exec is stored to the SYSEXEC DD statement.


    2. Add runtime option STDREXX(name). Ex: // EXEC PGM=JCLCHECK,PARM='STDREXX(name)'  (where name is the REXX exec).

 

To activate the REXX interface when running CA JCLCheck WA from an ISPF Edit session using the EDCHEK feature:

  1. Allocate the REXX exec PDS to the SYSEXEC DD statement. The SYSEXEC DD is generally defined in your TSO logon proc or logon CLIST. 

  2. Add runtime option STDREXX(name) to your EDCHKDD DD dataset member. 

  3. If you use the EJCK command, execute "EJCK Panel", and add the REXX exec name to the STDREXX option.

 

To activate the REXX interface when running from the CA JCLCheck ISPF panels interface:

  1. Allocate the REXX exec PDS to the SYSEXEC DD statement. The SYSEXEC DD is generally defined in your TSO logon proc or logon CLIST. 

  2. Modify the JCL skeleton member JCKSKEL from the CAZ2SKL0 data set in the ISPSLIB DD. Remove the comment from the SYSEXEC DD statement and change the dataset name to the REXX exec PDS. 

  3. Add runtime option STDREXX. From the CA JCLCheck ISPF primary menu, select Option Specifications, then Process Control Options. Go to ADDITIONAL PROCESSING OPTIONS PANEL and enter Y. On the next panel, add the REXX exec name to the STDREXX option.

 

Additional Information:

 

CA JCLCheck Workload Automation Installation Guide, Chapter 4. Step 27: (Optional) Install support for the REXX Interface

CA JCLCheck Workload Automation Programming Guide, Chapter 6 REXX for JCLCheck and JCLNEAT