Previous topic |
Next topic |
Contents |
Contact z/OS |
Library |
PDF
$ZAPJOB - Remove job structure from job queue z/OS JES2 Commands SA32-0990-00 |
|
FunctionTo remove all traces of a job structure from the JES2 job queue. WARNING: If improperly used, the ZAPJOB command can cause JES2 ABENDs, including ABENDs on multiple systems. Be sure to review the entire documentation before you use this command. ZAPJOB can be used to remove all traces of a job structure from the JES2 job queue. It is intended to be used in situations where a job cannot be removed using normal JES2 commands or by a JES2 restart. You must take special care to ensure that the job and any output it may have created are not active in any JES2 process and not active on a device. Zapping a job that is active can lead to ABENDs and the loss of a PCE until JES2 is restarted. ZAPJOB will not correct queue errors. If the JOB or output queue has an error, a JES2 restart is needed to rebuild the job queue. When specifying a job to zap, IBM® recommends that you specify as many operands as are known for the job being zapped. This reduces the possibility of accidentally zapping the wrong job because of a typing error. Syntax>>-$ZAPJOB--+---------------------------------+-----------------> '-,--JOBID--=--JOBnnnnn--J0nnnnnn-' >--+--------------------------+--+-------------------------+----> '-,--JOBKEY--=--xxxxxxxxxx-' '-,--JOBNAME--=--cccccccc-' >--+----------------------+--+----------------------+---------->< '-,--JQEINDEX--=--xxxx-' '-,--JQEOFF--=--xxxxxx-' Parameters
MessagesThe command response is a $HASP000 message. The $HASP250 message is issued when the job is zapped and indicates that the job was removed from the job queue structure (the job was zapped). Note:
Example
|
Copyright IBM Corporation 1990, 2014
|