The CMEM rule definition must contain the following:
The job name specified in the ON JOBARRIV/ON DSNEVENT/ON STEP statement in this rule must match the name of the job to be monitored. It can be a full job name, or it can be a mask if a group of jobs is to be monitored. For more information, see ON JOBARRIV (CMEM): Event Parameter, ON DSNEVENT (CMEM): Event Parameter, or ON STEP (CMEM): Event Parameter.
Note: Control-O users are advised that message rules triggered by $HASP395 (under JES2) or IEF404I (under JES3) are treated the same as JOBEND rules.
The first DO FORCEJOB statement in the rule must force a matching job scheduling definition, described immediately below. For more information, see DO FORCEJOB (CMEM): Action Parameter.
When monitoring for a group of jobs via job name masking, the JOB parameter in the DO FORCEJOB statement must specify the CMEM AutoEdit variable %%$JNAME. This allows the Control-M monitor to use the job name mask when performing the job name match process in the table. Using this method allows a single CMEM rule to act together with a single job scheduling definition (whose MEMNAME specifies the same job name mask) for jobs that require similar tracking requirements.
Parent Topic |