The Job/Step Completion Status Facility (JSCSF) enables users to define common rules for analyzing job results that determine whether jobs ended OK or NOTOK. The rules are defined in the PGMST member located in the CTM.PARM library. In additional to the Step and Procedure Step Names, the Program Names can also be defined under the Job Step criteria in the PGMST member.
The JSCSF rules are logically added to the 'DO OK' / 'DO NOTOK' actions of the ON PGMST statements specified in the Control-M Job Scheduling Definitions. The general rules in the JSCSF might override the more specific rules defined in the ON PGMST statements or might be overridden by them, depending on the JSCSF definitions in the PGMST member.
Example of the PGMST member:
/********************************************************************
/* *
/* JOB/STEP COMPLETION STATUS FACILITY DEFINITION MEMBER *
/* *
/*------------------------------------------------------------------*
/*MEMBER JOB STEP PROCSTEP PROGRAM OK/ OVER CODES *
/*NAME NAME NAME NAME NAME NOTOK JDEF VALUES *
/*---------------------------------------------------------------------*
TEST* TEST12 * * * OK N C0000-C0100
ABC* * * * PROGRAM1 OK Y C0008,C0020
* PROD* * * IDCAMS OK N <=C0004
* * * * ASMA90 NOTOK N >C0004
* * * IOATEST IOATEST OK N C*,U*,S*,NS0C?
CRITICAL * * * * NOTOK Y >=C0002
ANYCODE * * * * OK N C*
* MYCODES * * MANYCODE OK Y C0022,C0033,
C0044,C0055,
C0066,C0077,
C0088,C0099,
C0100-C0200
* * CONTROLR * CTRCTR NOTOK Y NC0000
Notes:
Parent Topic |