1. CANCEL Command

Cancels a submitted task processed by the SUBMIT command.

Syntax
figure cancel stmt
Figure 1. CANCEL Command

image

image

Item Description

jobname

Name of a job to cancel.

jobid

ID of the job to cancel.

Operands

The following table describes the operands mentioned previously.

Operand Description

NOPURGE (N)

Does not delete the output data set of a cancelled job.

PURGE (P)

Deletes the output data set of a cancelled job.

Example

The following example uses the CANCEL command.

CANCEL (D58BOBTA,D58BOBTB(JOB00051),D58BOBTC)