Spooler Utilities Reference Manual

Spoolcom
Spooler Utilities Reference Manual522295-003
4-7
BATCH Command
BATCH Command
Authorized users can use the BATCH command to specify attributes, obtain the status,
and change the status of any batch job.
Refer to the Guardian User's Guide for a description of batch job states and default
attributes.
All users can perform these operations on their own batch jobs.
batch-number
is the number of the batch job.
subcommand
is one of the subcommands described below. If subcommand is not specified, then
STATUS is assumed. Unauthorized users can use these subcommands to change
the attributes and status of only their own batch jobs.
COPIES number-of-copies
specifies the number of copies to be printed. A job must be in the HOLD state
before this attribute can be changed. The range of values is 1 through 32767.
The default value is 1.
DELETE [ ! ]
deletes all the jobs associated with the specified batch number. If you enter a
JOB DELETE command on a job that is currently printing, Spoolcom might
indicate that the job has been deleted before it actually is, because the
supervisor can delete the job only after the print process stops printing the job.
Enter DELETE ! to have the print process stop printing the job and delete all
jobs associated with the specified batch number.
FORM [ form-name ]
specifies a form name for the batch job. A batch job must be in the HOLD
state before its form name can be changed. A form name is composed of up
to 16 letters, numbers, and blanks. The default form name is all blanks.
HOLD
places the batch job in the HOLD state. A batch job must be in the HOLD state
before most other attributes can be modified. To remove a batch job from the
HOLD state, use the START subcommand.
BATCH [ batch-number ] [ , subcommand ] ...