Spooler Utilities Reference Manual
Introduction to the Spooler Subsystem
Spooler Utilities Reference Manual—522295-003
2-21
How to Change the Attribute Values of Batch Jobs
How to Change the Attribute Values of Batch Jobs
With the exception of key attributes, you can change any attribute of a single job that
belongs to a batch job. Use Peruse or Spoolcom to change these attributes in the
same way you would if the job did not belong to a batch job.
You can use Peruse or Spoolcom to change the following attributes for all jobs in a
batch job:
COPIES
FORM
HOLD
HOLDAFTER
OWNER
PRI
REPORT
Peruse commands are described in Section 3, Peruse and Spoolcom commands are
described in Section 4, Spoolcom.
Linking and Unlinking Jobs
Use the Peruse LINK command or the LINK option of the Spoolcom BATCH command
to link a job to a batch job if the job’s key attributes FORM, OWNER, and LOC match
those of the batch job. A job that has not been part of a batch job does not have the
key attribute JOBID. When you link a job to the current batch job, it acquires the JOBID
of that batch job.
To unlink a specified job from a batch job, use either the Peruse UNLINK command or
the Spoolcom BATCH command with the UNLINK option.
For further information about batch jobs, refer to the NetBatch User's Guide.
Ensuring Device Uniqueness for Batch Jobs
Applications can use only the first part of a location name—the group name—in their
applications and successfully maintain the uniqueness of the batch jobs generated by
those applications. However, when the spooler expands location names and must use
the default destination name, locations may appear to be the same and batch jobs will
share the same batch numbers. To ensure that jobs combine properly into a unique
batch job, make sure that the locations used when spooling jobs are precise enough to
represent the same device; otherwise, batch jobs may be split because the key
attributes do not match when the batch is forming.
Note. When a job is part of a batch job, you cannot alter the key attributes. Unlinking jobs is
described in Linking and Unlinking Jobs
on page 2-22.