Technical data
Setting Up and Maintaining Queues
14.6 Using Queue Options
If the jobs’ scheduling priorities are identical, the job that was submitted first
is processed first.
How to Perform This Task
To specify job scheduling options, follow these steps:
1. Decide if you want the order of print jobs to be based on size.
2. Decide if you want to set a block limit on jobs to be printed.
Commands for Job Scheduling Options
Use the following commands to specify job scheduling options:
Command Description
INITIALIZE/QUEUE/SCHEDULE=[NO]SIZE
START/QUEUE/SCHEDULE=[NO]SIZE
SET QUEUE/SCHEDULE=[NO]SIZE
Specifies whether pending jobs in an
output execution queue are scheduled
for printing based on the size of the
job. (Shorter jobs print before longer
ones.)
INITIALIZE/QUEUE/[NO]BLOCK_LIMIT=([lowlim,]uplim)
START/QUEUE/[NO]BLOCK_LIMIT=([lowlim,]uplim)
SET QUEUE/[NO]BLOCK_LIMIT=([lowlim,]uplim)
Limits the size of print jobs that can
be processed on an output execution
queue.
PRINT/PRIORITY=n
SUBMIT/PRIORITY=n
SET ENTRY/PRIORITY=n
Specifies the job scheduling priority
of the print job. The value of n can
be from 0 through 255, where 0 is the
lowest priority and 255 is the highest.
14.6.5.1 Setting Job Scheduling Priorities and Limits
The sections explain how to set job printing priorities and sizes.
How to Prioritize Jobs by Size
To prioritize jobs based on their sizes, use the /SCHEDULE=SIZE qualifier
with INITIALIZE/QUEUE, START/QUEUE, or SET QUEUE. (The
/SCHEDULE=NOSIZE qualifier prints jobs in the order they were submitted,
regardless of size.)
In the following example, /SCHEDULE=SIZE (the default), causes short jobs to
print before longer ones on the print queue LPA0_PRINT:
$ INITIALIZE/QUEUE/SCHEDULE=SIZE LPA0_PRINT
If you enter this command while pending jobs are in any queue, its effect on
future jobs is unpredictable.
How to Limit the Size of Jobs
To limit the size of print jobs, use the /BLOCK_LIMIT qualifier with
INITIALIZE/QUEUE, START/QUEUE, or SET QUEUE. By default, printer
and terminal queues are created with no block limit, so jobs of any size will be
printed. You can specify only an upper limit or both upper and lower limits.
In the following example, LPB0_PRINT has a block size limit of 50, indicating
that this queue is reserved for jobs smaller than 51 blocks.
$ INITIALIZE/QUEUE/BLOCK_LIMIT=50 LPB0_PRINT
You might also want to limit the size of jobs during certain hours of the day.
You can submit a batch job that runs a command procedure to set a maximum
block limit of 500 blocks for a queue at 8:00 a.m. The command procedure might
resubmit itself and remove the block limit after 5:00 p.m. each day. This lets
users print jobs of any size after normal work hours, when the printing work load
14–36 Setting Up and Maintaining Queues










