Spooler Utilities Reference Manual

Peruse
Spooler Utilities Reference Manual522295-003
3-24
HOLD Command
HOLD Command
The HOLD command sets the hold-before-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.
ON
sets the hold flag on for the current job. When no argument is specified, ON is
assumed.
OFF
sets the hold flag off for the current job.
Considerations
The HOLD command is not supported if the current job is a spooler job file.
If a batch job is current (set by the BATCH command), the HOLD command
operates on all jobs that are part of the current batch job.
If the current job is member of a batch job but not the first job of a batch (the log
job for a NetBatch job), the HOLD command operates on only the specified job
regardless of the state of any other job in the batch. This HOLD status remains in
effect even if other member jobs of the batch finish printing and are deleted.
Example
When you enter Peruse in this example, job 75 is already printing:
The following command places a hold on the job. This causes the job to stop printing
and removes it from the print queue:
HOLD [ ON | OFF ]
_JOB 75; J
JOB BATCH STATE PAGES COPIES PRI HOLD LOCATION REPORT
J 75 PRINT 15 1 4 #LP ADMIN BILL
1001 READY 33 1 4 #DEFAULT ADMIN BILL
_
_HOLD;J
JOB BATCH STATE PAGES COPIES PRI HOLD LOCATION REPORT
J 75 HOLD 15 1 4 #LP ADMIN BILL
1001 READY 33 1 4 #DEFAULT ADMIN BILL
_