13.3 Understanding Types of Queues
Batch and print queues can be divided into two general
classes:
Class Description
An execution and generic queue can be classified as either a
batch or output queue. The following sections provide more
details about execution and generic queues.
13.3.1 Batch Execution Queues
A batch execution queue can accept only batch jobs. A batch
job executes as a detached process that sequentially runs one
or more command procedures. The user defines the list of
command procedures when submitting the job.
13.3.2 Output Execution Queues
An output execution queue accepts jobs for processing by a
symbiont. The queue manager sends the symbiont a list of
files, which the user defines when submitting the job. An out-
put symbiont transfers data from a disk to an output device.
As the symbiont processes each file, it produces output for the
device it controls, such as a printer or a terminal.
The standard print symbiont provided by the operating sys-
tem is named PRTSMB and is designed to print files on
hardcopy devices. The LAT print symbiont LATSYM is
used to print files on output devices attached to LAT ports.
User-modified or user-written symbionts can also be de-
signed for this or any other file processing activity managed
by the OpenVMS batch and print queuing system. (See the
OpenVMS Utility Routines Manual for more information.)
Output execution queues include the following types:
Type Description
When you create an output execution queue, you designate it
as either a printer, a terminal, or a server execution queue;
you can also specify the symbiont to be associated with the
queue. However, when the queue is started, the symbiont
process associated with the queue can override the queue
designation if the queue type specified does not match the
type of device. The standard symbiont provided with the op-
erating system determines whether it is controlling a printer
or a terminal. It communicates this information to the queue
manager and, if necessary, the queue manager changes the
type designation of the output execution queue. By conven-
tion, a user-written or user-modified symbiont that does not
deliver output to a printer defines its queue as a server queue.
13.3.3 Generic Batch Queues
A generic batch queue can direct jobs only to batch ex-
ecution queues. Generic batch queues are typically used
in VMScluster environments to distribute the batch work
load across several nodes (see Section 13.5.3). Generic batch
queues are not automatically stopped when a node shuts
down and therefore, do not need to be started when a node
reboots.
13.3.4 Generic Output Queues
A generic output queue can direct jobs to any of the
three types of output execution queues: print, terminal, or
server. Generic output queues are typically used to dis-
tribute the output work load among several like printers (see
Section 13.6.5).
Generic output queues are not automatically stopped when
a node shuts down and therefore, do not need to be started
when a node reboots.
13.3.4.1 Logical Queues
A logical queue is a special type of generic output queue
that transfers jobs to another output execution queue. You
might use this kind of queue to temporarily redirect a queue
when the device on which it runs is broken.
A logical queue transfers its jobs into the execution queue
specified with the ASSIGN/QUEUE command. For informa-
tion on setting up a logical queue, see Section 13.9.1.14.