Spooler Plus Utilities Reference Manual

Spoolcom
Spooler Plus Utilities Reference Manual522294-002
3-11
BATCH Command
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).
Examples
1. This three-step example requires authorized access. It shows two jobs associated
with batch 233: job 7 is the log file, and job 9 has been linked to the log file by the
same batch number.
2. This command changes the state, location, and priority for all jobs in batch 233:
To verify that the priority for printing batch 233 has changed from 4 to 7, enter a job
command:
3. The following example shows the difference in the information displayed for a
BATCH command with the STATUS option and for a BATCH command with the
STATUS and DETAIL options. (The STATUS DETAIL display for job 10001 is
abbreviated in the example.) For a description of these parameters, see the
description of the JOB STATUS display under JOB Command on page 3-52.
)JOB
JOB BATCH ST FLAGS OWNER TIME COPY PAGE REPORT LOCATION
1 RD 4 1,28 11/22 1 7 DEV JAN #S.PRTR
6 RD 4 1,44 11/16 1 1 MNL BOB #SAUR
7 233 RD 4 1,32 11/16 1 28 ADMN SUE #LOG
9 233 RD 4 1,32 11/16 1 100 ADMN SUE #LOG
)
)BATCH 233, HOLD, LOC #LP8, PRI 7, START
)JOB
JOB BATCH ST FLAGS OWNER TIME COPY PAGE REPORT LOCATION
1 RD 4 1,28 11/22 1 7 DEV JAN #S.PRTR
6 RD 4 1,44 11/16 1 1 MNL BOB #SAUR
7 233 RD 7 1,32 11/16 1 28 ADMN SUE #LP8
9 233 RD 7 1,32 11/16 1 100 ADMN SUE #LP8
)
)BATCH 233, STATUS
JOB BATCH ST FLAGS OWNER TIME COPY PAGE REPORT LOCATION
10000 233 RD 7 1,32 11/16 1 28 ADMN SUE #LP8
10001 233 RD 7 1,32 11/16 1 100 ADMN SUE #LP8
)
)BATCH 233, STATUS DETAIL