Technical data
# pdpause -c job -m "Job will be printed later"\
spooler1:11224
7.1.10 Resuming a Job
You can resume paused jobs with the pdresume command. When you
resume a paused job, the job becomes available for scheduling and printing.
The pdresume command has the following syntax:
pdresume -c class_name [-m message_text][server_name:] job_id
The following example shows how to use the pdresume command:
• To resume job 11224:
# pdresume -c job spooler1:11224
7.1.11 Holding a Job
You can hold a job so that the spooler does not schedule it for printing. You
place a job on hold by setting the job-hold attribute to yes.
When you hold a job, the spooler:
• Sets the current-job-state attribute to held.
• Adds the job-hold-set value to the job-state-reasons attribute .
Holding a job is similar to pausing a job, except the job remains on hold
indefinitely unless one of the following events occurs:
• You set the job-hold attribute to no. The spooler can then schedule the
job and set its current-job-state attribute to pending.
• The job discard time that you previously set passes. The spooler then
deletes the held job.
• You cleared the associated queue or spooler. The spooler deletes all jobs
in the queue or spooler, including jobs in the held state.
The following examples show how to place a job on hold:
• The person who owns the job can use the pdmod command to place job
2002 on spooler sx0001_spl on hold:
# pdmod -x ’job-hold=yes’ sx0001_spl:2002
• An administrator or operator can use the pdset command to hold the
same job:
# pdset -x ’job-hold=yes’ sx0001_spl:2002
• To remove the hold on a job, use the pdset or pdmod command as shown
in the following examples:
Managing Jobs and Documents 7–9










