Use JobCancel to terminate a JES job. (Support is not provided for POWER jobs, although JobCommand, if enabled, can be used to terminate a POWER job.)
JobCancel may also be entered as JobCanc[el], Cancel[Job] or Canc[Job].
Optional Operands
JOB is the JES job to terminate.
OPT If specified as D or DUMP, a memory dump of the current step will be produced. If not specified, a dump will not take place.
To usefully cancel a JES job, the job must not have completed processing. JobCancel does not delete the JES job data sets associated with the job. Use JobDelete to delete a JES job and its JES job data sets. JobCancel sets last referenced job (and data sets).
When Valid
Check with your System Administrator to determine the restrictions on access to JES data sets at your site. The exit routine distributed with host BIM-EDIT provides several restriction schemes your System Administrator can select from.
Return Codes
OK Successful.
NF JES job not found.
-- Codes as defined by BIXPWQA exit routine.
Examples
Cancel the JES job just submitted:
=> canc
Cancel JES job 7325, and produce a dump:
=> canc 7325,dump