ZAPJOB

Attention: If improperly used, the ZAPJOB initialization statement can cause JES2 ABENDs including ABENDs on multiple systems. Be certain to review the entire ZAPJOB documentation before using this initialization statement.

Use ZAPJOB 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. Ensure that the job and any output it might have created is not active in any JES2 process or 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 required to rebuild the job queue.

When specifying a job to zap, IBM® suggests specifying as many operands as are known for that job. This reduces the possibility of accidentally zapping the wrong job because of a typing error.