Technical data

Setting Up and Maintaining Queues
14.4 Creating and Starting Queues
Enter START/QUEUE after you create the queue, using the following format:
START/QUEUE[/qualiers,...] queue-name
For each nonautostart queue, you must include a START/QUEUE command
naming the queue in your startup command procedure.
14.4.3 Creating and Starting Generic Queues
This section describes how to create and start a generic queue.
14.4.3.1 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.
Example
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
14.4.3.2 Starting a Generic Queue
You must start a generic queue in one of the following ways:
Use the /START qualifier in the INITIALIZE/QUEUE command used to
create the queue, using the following format:
INITIALIZE/QUEUE/START/GENERIC(=queue-name[,...])[/qualiers, ...] queue-name
Enter START/QUEUE after you create the queue, using the following format:
START/QUEUE[/qualiers,...] queue-name
Setting Up and Maintaining Queues 1419