Copyright © TIBCO Software Inc. All Rights Reserved
Copyright © TIBCO Software Inc. All Rights Reserved


Chapter 14 Managing Batch Processing : Defining New Queues

Defining New Queues
Step 1: Enter the Name of the New Queue
To enter a new queue name, complete the following steps:
1.
The screen displays a list of queues that are currently defined in the system.
2.
The screen shown below illustrates how an ADMIN queue can be defined:

 
Batch Submission Facility
Queue Definitions
< Define New Queue > ADMIN___________
AFTERNOON _
IMMEDIATE _
OVERNIGHT _
SUNDAY _
 
PFKEYS: 1=HELP 3=EXIT 12=EXIT

 
3.
The Queue Definition screen appears.
Step 2: Enter Values for the Definition
Enter values for the new queue. The ADMIN queue could be defined on the Queue Definition screen as shown below:

 
Batch Submission Facility
Queue Definition for: ADMIN
Wait Duration ==> 60 (# of seconds to wait when queue empty)
Wait Limit ==> 120 (# of waits before queue shut down)
Default Output Settings:
Print Destination ==> PRINTER2 Print Form ==>
Print Class ==> Y External Writer ==>
Number of Copies ==> 1 FCB ==>
UCS ==>
Description:
 
PFKEYS: 1=HELP 3=SAVE 12=CANCEL 22=DELETE

 
In this example, the Wait Duration is set to 60 seconds. This means that when the queue becomes empty, the batch server waits 60 seconds before rescanning the queue. The Wait Limit is set to 120. This means that the batch server can go into a wait state up to 120 times before the batch server shuts itself down. If you start this queue at 8 a.m., these settings ensure that the queue would submit jobs and check for more jobs for a minimum of 2 hours, until 10 a.m.
Step 3: Save the New Queue Definition
To save this new queue definition, press PF3.
Before you can submit a job to the new queue, you must define a batch server to service the new queue. For information about defining the batch server, refer to Defining Additional Batch Servers.

Copyright © TIBCO Software Inc. All Rights Reserved
Copyright © TIBCO Software Inc. All Rights Reserved