![]() |
![]() |
![]() |
|
|
![]() |
For detailed instructions on creating and starting queues, see the following sections:
Task | For More Information |
---|---|
Autostart execution
queues
|
Creating and Starting Autostart Execution Queues
|
Nonautostart
execution queues
|
Creating and Starting Nonautostart Execution Queues
|
Generic queues
|
Creating and Starting Generic Queues
|
Creating and Starting Autostart Execution
Queues
To create and start an autostart execution queue, complete
these tasks:
The commands in this example perform the following tasks:$
INITIALIZE/QUEUE/START/DEFAULT=(NOBURST,FLAG=ALL,TRAILER=ONE) -
_$
/AUTOSTART_ON=(LILITH::LPA0:,SMITTN::LPA0:) LPA0
[1]$
INITIALIZE/QUEUE/START/DEVICE=TERMINAL/ -
_$
/AUTOSTART_ON=(LILITH::LTA3331:,SMITTN::LTA555:) -
_$
/RECORD_BLOCKING/BLOCK_LIMIT=600/CHARACTERISTICS=(EAST)-
_$
/SEPARATE=(NOBURST,NOTRAILER,NOFLAG,RESET=ANSI$RESET) -
_$
/DEFAULT=(NOFEED,NOBURST,FLAG=ONE,NOTRAILER,FORM=MEMO) -
_$
/LIBRARY=LN03LIBRARY /PROCESSOR=LATSYM LN03_1
[2]$
ENABLE AUTOSTART/QUEUES
[3]$
ENABLE AUTOSTART/QUEUES/ON_NODE=SMITTN
[4]
Detailed explanations of each task follow.
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:
![]() | 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. |
As the table indicates, to specify a failover list:
Activating an Autostart Queue
You must activate an autostart queue in one of the following
ways:
Once an autostart queue is activated, it remains active until the queue is stopped with STOP/QUEUE/NEXT or STOP/QUEUE/RESET. Shutting down a node does not deactivate autostart queues on the node.
How to Start a Deactivated Queue
To start an autostart queue that has been deactivated by STOP/QUEUE/NEXT or STOP/QUEUE/RESET, enter START/QUEUE. The queue is then automatically started by the queue manager either:
Enabling an Autostart Queue
You must enable autostart on a node to start autostart queues.
You can do this either before or after you create an autostart queue.
Perform the following steps to enable autostart:
Enabling autostart on a node notifies the queue manager to automatically perform the following tasks:$
ENABLE AUTOSTART/QUEUES
![]() | The ENABLE AUTOSTART/QUEUES command starts only valid, active autostart queues capable of running on a node. If an autostart queue does not start when you enter this command, the queue might not be active for autostart. You must activate autostart queues, as explained in Activating an Autostart Queue). |
How to Start Stopped Autostart Queues
You can start all stopped active autostart queues on a node by enabling autostart for queues with ENABLE AUTOSTART/QUEUES. Including a separate START/QUEUE command to start an active autostart queue is not necessary.
When a node reboots, autostart is disabled until you enter ENABLE AUTOSTART/QUEUES.
Adding Commands to Your Startup Procedure
HP recommends that you add ENABLE AUTOSTART/QUEUES
to your startup procedure on all of your nodes. Add this command
following the commands that configure printer devices and mount
important disks. Adding the command eliminates the necessity of
adding it later, if you need to add autostart queues or add nodes
to autostart queue failover lists.
The following example illustrates some sample commands that you might add to a node's SYSTARTUP_VMS.COM procedure:
$! Start the nonautostart batch queue $ START/QUEUE SYS$BATCH $! Start all autostart queues $ ENABLE AUTOSTART/QUEUESFor more examples, see the SYS$MANAGER:SYSTARTUP_VMS.COM template on your system disk.
Creating and Starting Nonautostart Execution
Queues
This section describes how to create and start a nonautostart
queue.
The following example creates a batch queue named SYS$BATCH and starts the queue on LILITH:
$
INITIALIZE/QUEUE/START/BATCH/ON=LILITH::SYS$BATCH
Creating
a Nonautostart Queue
To create a nonautostart execution queue, use the /ON qualifier
with the INITIALIZE/QUEUE command, as shown in the following table:
Starting
a Nonautostart Queue
You must start a nonautostart queue in one of the following
ways:
Creating
and Starting Generic Queues
This
section describes how to create and start a generic queue.
Creating a Generic Queue
To create a generic queue, use the /GENERIC qualifier with
the INITIALIZE/QUEUE command, as shown in the following table:
Type of Queue | Command |
---|---|
Output queue
|
INITIALIZE/QUEUE/GENERIC[=(queue-name[,...])]
queue-name
The /GENERIC qualifier specifies that the queue is a generic queue. For the first queue-name, specify the execution queue to which the generic queue sends jobs. For the second queue-name, specify the generic queue to which output is sent. |
Batch queues
|
INITIALIZE/QUEUE/BATCH/GENERIC[=(queue-name[,...])
queue-name
The /BATCH qualifier is required to create a batch queue. For queue-name, specify the execution queue to which the generic queue sends jobs. The execution queue must be a batch queue. |
You can also set up a generic queue without explicitly naming the execution queues to which it may send jobs. Instead, use the /ENABLE_GENERIC qualifier with INITIALIZE/QUEUE, START/QUEUE, or SET QUEUE for the execution. This method is not normally recommended. However, if your queue configuration is simple, you can use this method.
The following example creates a generic queue (LN03_PRINT), which lists execution queues to which LN03_PRINT sends jobs:
$
INITIALIZE/QUEUE/GENERIC=(LN03_1,LN03_2,LN03_3) LN03_PRINT
Starting a Generic Queue
You must start a generic queue in one of the following ways:
|
|