Technical data

Setting Up and Maintaining Queues
14.4 Creating and Starting Queues
The commands in this example perform the following tasks:
! Creates an autostart queue named LPA0 and activates it for autostart.
Because this is an autostart queue with a failover list, this queue can run on
either LILITH::LPA0 or SMITTN::LPA0.
" Creates an autostart queue named LN03_1 for LAT printers and activates
it for autostart. Because this is an autostart queue with a failover list, this
queue can run on either of the printers attached to LAT ports LTA3331: on
node LILITH or LTA555: on node SMITTN.
# Enables autostart on the node on which the process is running. Assume this
is node LILITH. Because both LPA0 and LN03_1 are active autostart queues
capable of running on node LILITH, these queues will start up on this node.
$ Enables autostart on node SMITTN. If LILITH becomes unavailable, both
LPA0 and LN03_1 can fail over to node SMITTN.
Detailed explanations of each task follow.
14.4.1.1 Creating an Autostart Queue
To create an autostart execution queue, use the /AUTOSTART_ON qualifier with
the INITIALIZE/QUEUE command, as shown in the following table:
For... Use This Command...
Output queues INITIALIZE/QUEUE/AUTOSTART_ON=(node::[device:] [,...]) queue-name
For node::, specify the name of the node on which the queue is to run.
For device:, specify the name of the output device to which the queue’s output is sent. To
allow the autostart queue to fail over to another node and device, specify a list of nodes
and devices, separated by commas.
Batch queues INITIALIZE/QUEUE/BATCH/AUTOSTART_ON=(node:: [,...]) queue-name
The /BATCH qualifier creates a batch queue.
For node::, specify the name of the node on which the queue is to run. To allow the
autostart queue to fail over to another node, specify a list of nodes, separated by
commas.
Caution
The system does not check the node name you specify as node:: to
determine if it is an existing node name, so be sure to specify the node
name correctly.
How to Specify a Failover List
As the table indicates, to specify a failover list:
For output queues, replace device with a list of failover devices.
For batch queues, replace node with a list of failover nodes.
1416 Setting Up and Maintaining Queues