Technical data
Setting Up and Maintaining Queues
14.7 Maintaining Queues
Entry Jobname Username Status
----- ------- -------- ------
874 PIPE FITZGERALD Executing
Submitted 26-FEB-2000 11:25 /KEEP /NOTIFY /NOPRINT /PRIORITY=100
/RESTART=CLUSTER_BATCH /RETAIN=UNTIL="0 01:00"
File: _$333$DISK1:[FITZGERALD]PIPE.COM;2 (executing)
Server queue NM$QUE01, available, on HERA::, mounted form DEFAULT
/BASE_PRIORITY=4 /DEFAULT=(FEED,FORM=DEFAULT) /OWNER=[DOC,SMITH]
/PROCESSOR=NM$DAEMON /PROTECTION=(S:M,O:D,G:R,W:R) /RETAIN=ERROR
Entry Jobname Username Blocks Status
----- ------- -------- ------ ------
236 NM ROSENBERG 12 Processing
Submitted 23-FEB-2000 08:42 /FORM=DEFAULT /PRIORITY=100
File: _$5$DISK3:[FOLK$.NM]NM$J1991072308340647.WRK;1
14.7.1.2 Modifying a Queue
You can use the INITIALIZE/QUEUE, START/QUEUE, and SET QUEUE
commands to change queue options; as you change queue options, information
about the queue in the queue database is updated. You can use the INITIALIZE
and START commands only on stopped queues.
The SET QUEUE command lets you change many queue options without
having to stop the queue, initialize it, and restart it. For example, the following
command modifies the running batch queue, SYS$BATCH:
$ SET QUEUE/JOB_LIMIT=4/DISABLE_SWAPPING SYS$BATCH
The command in this example changes the job limit for the queue and disables
swapping for all jobs processed in SYS$BATCH. All other options of the queue
remain the same. The changed options do not affect the execution of current jobs;
however, all subsequent jobs are executed with the new options in effect.
How to Perform This Task
To change queue options that cannot be altered with SET QUEUE, use the
following procedure:
1. Stop the queue with STOP/QUEUE/NEXT.
2. Restart the queue with START/QUEUE or INITIALIZE/QUEUE/START,
specifying the appropriate qualifiers for your options.
Any qualifiers that you do not specify remain as they were when the queue
was previously initialized, started, or set.
Note that initializing an existing queue does not delete any current jobs in that
queue. Any new queue settings established by the new INITIALIZE/QUEUE
command affect all jobs waiting in the queue or subsequently entering the queue.
See Table 14–1 for a list of the options that you can use for batch and output
queues.
14.7.1.3 Pausing a Queue
The STOP/QUEUE command, when used without qualifiers, temporarily
suspends the execution of all current jobs in the queue and places the queue
in a paused state. Pausing an output queue lets you enter print job positioning
and alignment commands to the print symbiont. (See Section 14.7.2.7 for more
information about using STOP/QUEUE to control print jobs.)
To resume the execution of a paused queue, enter START/QUEUE.
Setting Up and Maintaining Queues 14–59










