Technical data

Setting Up and Maintaining Queues
14.7 Maintaining Queues
The ASSIGN/MERGE command moves all jobs currently in the source queue. If
new jobs are entered into the source queue before it is deleted, those new jobs
remain in the source queue, and are not transferred to the target queue. You
might want to close the queue to prevent new jobs from being entered in the
queue, as explained in Section 14.7.1.4, before entering ASSIGN/MERGE.
For ongoing redirection of jobs, use the ASSIGN/QUEUE command as explained
in Section 14.7.1.10.
14.7.1.12 Deleting a Queue
Perform the following steps to delete a queue:
1. Stop the queue by entering STOP/QUEUE/NEXT. (Use STOP/QUEUE/RESET
to abort all executing jobs.)
2. Wait for executing jobs to complete.
3. Requeue the entries still pending in the queue. If you do not perform this
step, jobs will be deleted along with the queue.
4. Remove all references to the queue from generic queues or jobs. See
Section 14.8.5 for more information about removing references to queues.
5. Delete the queue by entering DELETE/QUEUE.
14.7.2 Managing Jobs in Queues
Some routine tasks for controlling the flow of batch and print jobs and for
maintaining efficient job processing performance include the following actions:
Task Reference
Monitoring jobs Section 14.7.2.1
Modifying job processing options Section 14.7.2.2
Holding and releasing a job Section 14.7.2.3
Requeuing an executing job Section 14.7.2.4
Requeuing a pending job Section 14.7.2.5
Deleting a job Section 14.7.2.6
Pausing an output queue to control print job position and
alignment
Section 14.7.2.7
14.7.2.1 Monitoring Jobs
Use the SHOW ENTRY command to monitor the status of batch and print jobs.
(For information about job status, see Table 14–6.)
Use the following format to specify the SHOW ENTRY command:
SHOW ENTRY [entry-number[,...]], [job-name[,...]]
If you do not specify an entry number or job name, the system displays all jobs
owned by you or by the user specified with the /USER_NAME qualifier. If you
specify a job name, the system displays all jobs owned by you or by the user
specified with /USER_NAME that match the specified character string. You can
also display a group of jobs by entering a list of entry numbers or job names, or
both, on the command line.
Specify qualifiers with the SHOW ENTRY command to specify the type of job
information you want to display. For more information, refer to the OpenVMS
DCL Dictionary.
Setting Up and Maintaining Queues 1463