Previous Topic: SecurityNext Topic: Using the EDCHEK Interface


User Modification Tables

CA JCLCheck has tables (CSECT) that are user-modifiable through predistributed user modifications (USERMODs). For a list of user-modifiable tables, see (Optional) Install CA JCLCheck Tables for Modification in the Installation Guide. You execute the USERMOD that assembles and links the table into the CA JCLCheck load modules. These USERMODs are stored in the CA JCLCheck SAMPJCL library and their member names have an "MZ" prefix.

USERMODs must be reinstalled after each CA JCLCheck version or release upgrade. Normal maintenance (PTFs) generally does not require a reinstall of the USERMOD. When a PTF requires a reinstall of the USERMOD, you are informed during the SMP APPLY step of the PTF. The following message is an example of what you receive:

GIM38201E ** THERE IS A MODID ERROR FOR SRC ENTRY JCLMSG IN SYSMOD RO07380.
GIM31902I    SYSMOD RO07380 DOES NOT SPECIFY MZ2B023 ON THE PRE OR SUP OPERAND.

In this example, the corrective action is to RESTORE USERMOD MZ2C023, re-APPLY PTF RO07380, then re-APPLY USERMOD MZ2C023.

The following examples show how the CA JCLCheck tables are modified.

Example: Set Default Runtime Options

This example shows how to set the default runtime options to "CTL FULL JOB LIST XREF PXREF(RPT) PROCXREF SXREF AU FLUSHRC(00) MCOSYS(CAI.JCK.MSGOPT)".

The default runtime options are defined in the JCLDFLT CSECT, which is stored in the CAZ2OPTN library. This library is SMP controlled and must not be directly modified. Instead, place the desired options in USERMOD MZ1C024 as shown, and submit the USERMOD for execution. Be sure to validate the sequence numbers in column 73-80.

…
./ CHANGE NAME=JCLDFLT
   CAZ2BOX TITLE='JCLDFLT - DEFAULT OPTIONS CSECT'
OPT     DC	C'CTL FULL JOB LIST XREF PXREF(RPT) PROCXREF SXREF  '
        DC	C'AU FLUSHRC(00)  '
        DC	C'MCOSYS(CAI.JCK.MSGOPT)  '
./ ENDUP
…

Example: Remove Requirements

This example removes the requirements for the programmer name and accounting information fields on the JOB statement.

The JCL decoding tables are defined in member MVS4XTBL, which is stored in the CAZ2OPTN library. To modify the decoding tables, edit USERMOD MZ2C012 from the SAMPJCL library as shown, and submit the USERMOD for execution. Be sure to validate the sequence numbers in column 73-80.

…
./ CHANGE NAME=MVS4XTBL
JCLTABLE CAZ2BOX HEAD='DECODING TABLES FOR JCLCHECK - ',
    $J6PCB NAME=ACCOUNT,PTB=JOBACTG,REQ=NO,
    $J6PCB NAME=PRGRAMMR,VTB=JPRGMMR,REQ=NO,
./ ENDUP 
…