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, that is, jobs submitted by TSO users or CICS, or jobs received over an NJE network, and 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 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 later in this section.

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.

Note: For Control-M/Assist users Control-M will not release the job, since the user will most likely will not submit the job in held status from his third-party-vendor scheduling product.

Creating On Spool jobs

The following components are necessary to create On Spool jobs:

Handling On Spool jobs

On Spool jobs are handled as follows:

Note: Control-M can only handle NJE jobs as On Spool jobs when they originate on the same NJE node as that on which Control-M is running.

On Spool job scheduling definition considerations

Note: If an On Spool job was purged from the spool but still remains in the Active Jobs File, and another job with the same name arrives on spool and is assigned the same job ID, that later job is not forced.

JCL management considerations

When defining JCL, the following issues must be considered:

Parent Topic

CMEM