Examples of how to code the CANCEL command

The following examples present how to code the CANCEL command:

Note: Any values specified here are only examples and should not be interpreted as the values to be used for your system.

Canceling all requests for a specified user ID

In this example, all requests submitted by the specified userid are canceled.
   CANCEL USERID(L541563)

Canceling all requests issued from the system console

In this example, all requests submitted from the system console are canceled. Note that **OPER* in the example below is a pseudo userid representing the system operator.
   CANCEL USERID(**OPER*)

Canceling all requests for a specified data set name

In this example, all requests for a specified data set name are canceled.
   CANCEL DATASETNAME(L541563.PSU.N.F230EP03.DSET1)

Canceling a particular request

In this example, request number 0015 is canceled.
   CANCEL REQUEST(15)