Spooler Plus Utilities Reference Manual

Introduction to the Spooler Plus Subsystem
Spooler Plus Utilities Reference Manual522294-002
1-19
Linking and Unlinking Jobs
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 2, Peruse and Spoolcom commands are
described in Section 3, 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.
Peruse commands are described in Section 2, Peruse and Spoolcom commands are
described in Section 3, Spoolcom.
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.