Spooler Utilities Reference Manual

Spoolcom
Spooler Utilities Reference Manual522295-003
4-9
BATCH Command
If OUT filename is specified, Spoolcom writes the data to it in a manner
suitable for the file type, process, or device. file-name must be
specified; if the file does not exist, Spoolcom creates an EDIT file (file type
101). The file can be an EDIT file, an unstructured file, a relative file, an
entry-sequenced file, a spooler job file, a process, or a device.
DETAIL
requests a complete list of batch job attributes. This parameter displays
the attributes of batch jobs in the spooler subsystem. If batch-number is
not specified, the status of all batch jobs in the spooler subsystem is
returned. If batch-number is specified, the status of only those jobs is
returned.
UNLINK job-number
unlinks the specified spooler job from the batch job.
Table 4-3 shows the batch job states for which each BATCH subcommand is valid.
Considerations
To change the attribute values of all jobs belonging to a batch job, you must use
the BATCH command.
You can still use the JOB command to change the attributes of a single job even if
that job is part of a batch job; however, you cannot change any of its key attributes
(form, owner, or location).
Table 4-3. Batch Job States During Which BATCH Subcommands Can Be Used
BATCH Subcommand Hold (H) Print (P) Ready (R) Open (O)
COPIES H
DELETE H P R
FORM H
HOLD H P R
HOLDAFTER H P R O
LINK
LOC H
OWNER H
REPORT H
SELPRI
START H
STATUS
UNLINK