Introduction/Summary:
The ESPCCCHK step is generated dynamically by CA WA ESP when one or more CCCHK statement is found in the ESP init member, and/or in an application, and/or in a job definition.
Sample ESPCCCHK step generated by CA WA ESP:
//ESPCCCHK EXEC PGM=CYBES080,PARM=ESPGROUP
//STEPLIB DD DISP=SHR,DSN=CAI.ESP.CD7YLOAD
//SYSPRINT DD SYSOUT=(,)
//SYSIN DD *
CCCHK RC(1:4095) FAIL CONTINUE
This knowledge document explains how to set a different SYSPRINT DD SYSOUT class by using command CCCHKSTP.
Background:
The CCCHK statement allows you to specify the action taken if a job, step, procstep, or program produces a specified condition code.
When the CCCHK statement is coded in the CA WA ESP init member, and/or in an application, and/or in a job definition, CA WA ESP inserts the ESPCCCHK step before the first step of the executing job.
The command or init statement CCCHKSTP allows the ESPCCCHK step to execute a tailored cataloged JCL procedure, instead of the CA WA ESP generated one.
Environment:
CA WA ESP r11.4
Instructions:
1. Copy the sample ESPCCCHK job step from CD7YJCL(CYBESS40) to a cataloged procedure library, and modify the job step as follows:
2. Add init statement CCCHKSTP ('//ESPCCCHK EXEC cybess40,GROUP=') to the init member for the next CA WA ESP recycle.
3. Execute page mode command OPER CCCHKSTP ('//ESPCCCHK EXEC cybess40,GROUP=') for immediate effect.
Additional Information:
Usermod 79 is available to set the SYSPRINT DD SYSOUT class to Z.
If SYSOUT=Z meets your need, simply active usermod 79 by issuing page mode command OPER USERMOD SET(79).
To set USERMOD as an init statement, code USERMOD SET(79) in the init member.