Command reference / job
CLRJOBQ
Clear Job Queue
Removes waiting batch jobs, including held jobs, from a job queue. Jobs being read in and rerouted interactive jobs are left on the queue.
Allowed environments: *ALL.
Positional parameters: 1.
Parameters
JOBQ
Job queue
Sets the job queue that is to be cleared of all waiting or held jobs.
name (job queue)- Enter the name of the job queue that is to be cleared.
*LIBL- Look in the thread's library list.
*CURLIB- The current library for the job is used to locate the job queue. If no current library entry exists in the library list, QGPL is used.
name (library)- Enter the name of the library where the job queue is located.
Qualified parts (object, then library; write LIBRARY/OBJECT)
Job queue
Job queue
Library
Library
Suggested / special values:
*LIBL, *CURLIB
LOG
Job log
Choose whether to use the message logging values associated with a job for jobs removed from the job queue.
Allowed values:
*JOB, *NONE
*JOB- Use the message logging values specified for each job when the job is removed from the job queue.
*NONE- No job log spooled files will be generated for the removed jobs.
Examples
CLRJOBQ JOBQ(QBATCH)
Removes all jobs currently in the IBM-supplied job queue, QBATCH. Any job currently being read in is not affected.
Generated from os/cl/catalog/CLRJOBQ.json and os/cl/help/CLRJOBQ.json.