Technical data
Setting Up and Maintaining Queues
14.7 Maintaining Queues
Examples
1. A job is executing in output execution queue BETA_LPB0 when the printer on
which the queue is running jams. If no other jobs are pending in the queue,
you might want to stop and requeue the job to a queue running on another
printer. Because the printer in this example is jammed, you might also want
to stop the queue. To do so, enter commands similar to the following ones:
$ STOP/QUEUE/REQUEUE=BETA_LPA0 BETA_LPB0
$ STOP/QUEUE/RESET BETA_LPB0
The first command stops the executing print job on BETA_LPB0 and requeues
it to BETA_LPA0. The second command stops queue BETA_LPB0.
2. If you are requeuing a job on a batch queue, you must include the /ENTRY=n
qualifier. For example:
$ STOP/QUEUE/ENTRY=1251/REQUEUE=FRED_BATCH WILMA_BATCH
To hold an aborted job, specify the /HOLD qualifier using the following format:
STOP/QUEUE/REQUEUE[=queue-name]/HOLD[/ENTRY=entry-number] queue-name
The /HOLD qualifier places the aborted job in a hold state for later release with
the SET ENTRY/RELEASE or SET ENTRY/NOHOLD command.
To change the scheduling priority of the aborted job, specify the /PRIORITY
qualifier using the following format:
STOP/QUEUE/REQUEUE[=queue-name]/PRIORITY=n[/ENTRY=entry-number] queue-name
Specify the new priority as n.
14.7.2.5 Requeuing a Pending Job
To requeue a job that is pending in a queue to a different queue, enter SET
ENTRY/REQUEUE. For example:
$ SET ENTRY/REQUEUE=LN03$PRINT 196
This command moves job 196 to the queue LN03$PRINT.
14.7.2.6 Deleting a Job
Follow this procedure to delete either a pending or an executing batch job:
1. Determine the entry number of the job by entering a command using one of
the following formats:
SHOW ENTRY/USER_NAME=username [entry-number]
SHOW QUEUE/ALL_JOBS [queue-name]
If you do not know the job name, user name, or queue name, enter the
following command:
$ SHOW QUEUE/BATCH/ALL_JOBS/BY_JOB_STATUS=EXECUTING
2. Delete the job by entering a command in the following format:
DELETE/ENTRY=(entry-number)[,...]
Setting Up and Maintaining Queues 14–67










