This section describes the uxstrque command used to stop a batch queue.
This command must be used if the batch queue status is started and no more jobs are to be run on it. Any jobs on this batch queue that were pending or suspended will not be run. Any jobs that were running will not be stopped. Every job that was present in the batch queue at the time of stoppage will remain in the batch queue.
The default Environment can be changed.
The command syntax is as follows:
uxstpque QUEUE=queue [NEXT]
Description of Items
QUEUE=
Name of the batch queue to stop or * to stop all queues.
Format: 31 alphanumeric characters.
NEXT
(Optional, on UNIX only). Qualifier meaning that the batch queue will only be stopped once the jobs running in the batch queue are completed. Jobs pending execution will not be run. If the 'next' option is not used, all jobs present in the queue will be frozen until the queue is restarted.
Example
This command stops the batch queue once all jobs that were running at the time the command was issued have terminated. Any other jobs will not be run.
$UNI_DIR_EXEC/uxstpque QUEUE=QB_PHYS_1 NEXT