JCL requirements for batch REXX EXEC exception management tool
The following table lists JCL statements for the batch REXX EXEC exception management tool.
Statement | Description |
---|---|
EXEC | Specify PGM=CPCBATCH |
STEPLIB | Describe the library containing the CPC load modules |
CPCSYSIN | Define the data set containing control statements for commands and keywords that execute CPC batch functions |
CPCLOG (Optional) | Specify where you want the CPC message log |
Example - JCL for the batch REXX EXEC exception management tool
//REXXEXEC EXEC PGM=CPCBATCH
//STEPLIB DD DISP=SHR,DSN=BMC.LOAD
//CPCLOG DD SYSOUT=*
//CPCSYSIN DD *
REXEXCPS ACTION(UPDATE) RECON_DSN(YOUR.RECON1) –
INCLUDE(B6,B7,C0)
/*
The above example will cause exceptions for exception IDs B6, B7, and C0 to invoke REXX EXECs for all objects in IMSPLEX ‘YOUR.RECON1’ that do not have other REXX EXEC exception ID specifications at a lower level.
Example output in CPCLOG
REXEXCPS COMMAND PROCESSING STARTED
KEYWORD VALUE SPECIFIED
RECON_DSN YOUR.RECON1
ACTION UPDATE
INCLUDE B6,B7,C0
EXCEPTION ID'S TO INVOKE REXX
ID EXCEPTION NAME
B6 NO VALID IMAGE COPY
B7 NO IC WITHIN TIME RANGE
C0 MIN # OF IC'S NOT AVAILABLE
REXEXCPS COMMAND PROCESSING COMPLETED SUCCESSFULLY
Related topic