Previous Topic

Next Topic

Book Contents

Book Index

On Spool Jobs

On Spool jobs are jobs or started tasks that are submitted externally to Control-M, such as jobs submitted by TSO users or CICS, or jobs received over the NJE network, but are brought under the control of the Control-M monitor using a CMEM rule.

The CMEM rule that causes a job to be an On Spool job, that is, a CMEM rule that brings the external job under the control of the Control-M monitor, must be an ON JOBARRIV rule or Control-O event (ON DSNEVENT or ON STEP) with a DO FORCEJOB statement. To inform Control-M that this is an On Spool job and not a regular FORCEJOB request, the job scheduling definition forced by the DO FORCEJOB must "match" the arriving job, as described below.

Control-M controls the entire life cycle of the job, from determining when to execute the job to performing job post-processing, according to the forced job scheduling definition.

Control-M processes On Spool jobs slightly differently than it processes regular jobs. Control-M does not submit the job because the job has already been submitted. Instead, Control-M releases the job (if held) when the runtime scheduling criteria are met.

Once the job starts execution, whether the job previously required releasing or not, it is controlled by Control-M in the same way that Control-M controls regular jobs. Control-M waits for the job to finish, reads its sysout, and performs all post-processing actions defined in the job scheduling definition.

Parent Topic

Overview of CMEM