Handling External Events: CMEM Facility in in CONTROL-M
External events are events in the system that occur outside the control of the
CONTROL-M monitor, such as the submission of a job. The CONTROL-M
Event Manager (CMEM) facility enables CONTROL-M to respond to and
handle such events.
Through rules defined online through the CMEM Rule Definition facility,
CONTROL-M must perform in response to external events.
The following types of events are handled by the CMEM facility:
Event Description
Job Arrival -------> Arrival of a job on the JES spool, from any source.
Job End --------> Completion of a job, regardless of its source.
Dataset Event-------> Either the setting of a dataset disposition at deallocation time or
the occurrence of a NOT CATLGD 2 event.
Step ------------> Termination of a procedure (and optionally, a program) step.
The following actions can be performed by the CMEM facility:
• force one or more CONTROL-M jobs
• add prerequisite conditions to, or delete prerequisite conditions from, the
IOA Conditions file and the CONTROL-M Resources file
• stop the job in which the event occurs
• invoke a CONTROL-O rule, if CONTROL-O is active at the site
• send a message to a specified location using the CONTROL-O SHOUT
facility, if CONTROL-O is active at the site
• bring under the control of the CONTROL-M monitor a job submitted
outside the control of the CONTROL-M monitor, such as a job submitted
by a TSO user Such a job is called an On Spool job, and the control of On Spool jobs is
one of the most important functions of CMEM.
No comments:
Post a Comment