Spooler Utilities Reference Manual
Peruse
Spooler Utilities Reference Manual—522295-003
3-26
HOLDAFTER Command
HOLDAFTER Command
The HOLDAFTER command sets the hold-after-printing flag on or off for the current
job. If there is no current job, then the job most recently spooled becomes the current
job. When the hold-after-printing flag of a job is on and the job has finished printing, the
spooler places that job in the HOLD state rather than deleting it from the spooler
subsystem.
The HOLD command puts a job in the HOLD state immediately; HOLDAFTER allows it
to print before being placed in the HOLD state.
ON
sets the hold-after-printing flag on for the current job. ON is the default.
OFF
sets the hold-after-printing flag off for the current job.
Considerations
If a batch job is current, the HOLDAFTER command operates on all jobs that are
part of the current batch job.
The HOLDAFTER command is not supported if the current job is a spooler job file.
Example
After entering Peruse, you can set the hold-after-printing flag on for a job to keep it in
the spooler after it has printed. The A under the HOLD column indicates that the hold-
after-printing flag is on:
When the job finishes printing, it enters the hold state and the hold-after-printing flag is
still on:
HOLDAFTER [ ON | OFF ]
JOB BATCH STATE PAGES COPIES PRI HOLD LOCATION REPORT
722 READY 3 1 4 #HT1 INVENT PAT
_HOLDAFTER; J
JOB BATCH STATE PAGES COPIES PRI HOLD LOCATION REPORT
J 722 PRINT 3 1 4 A #HT1 INVENT PAT
JOB BATCH STATE PAGES COPIES PRI HOLD LOCATION REPORT
J 722 HOLD 3 1 4 A #HT1 INVENT PAT