Technical data
# pdset -x ’job-hold=no’ sx0001_spl:2002
# pdmod -x ’job-hold=no’ sx0001_spl:2002
7.1.12 Retaining a Job
You can cause the spooler to retain a job for a specified period after the job
completes printing. A retained job is available for possible resubmitting
or examination.
When you retain a job, the spooler:
• Retains the job object, its attributes, and its documents, even after the
job has completed.
• Sets the current-job-state attribute to retained.
The job remains in the retained state until one of the following events takes
place:
• The retention period elapses. The spooler then deletes the retained job.
• You clean the associated queue or spooler. The spooler deletes all jobs in
the queue or spooler, including jobs in the retained state.
The pdmod, pdset, or pdrm command can cause a job to be retained when
it completes. End users can set the retention period on their jobs with the
pdmod and pdrm commands. Administrators and operators can use the
pdset command to set the retention period of any job.
The following examples use these commands to retain a job:
• To retain job 3021 on spooler sx0001_spl for 24 hours, issue one of
the following commands:
# pdrm -r ’24:00’ sx0001_spl:3021
# pdmod -x "job-discard-time=24:00" sx0001_spl:3021
# pdset -c job -x "job-discard-time=24:00" sx0001_spl:3021
Note that the pdrm command causes the job to be canceled and removed
from the queue while the job is retained for possible resubmission.
7.1.13 Discarding a Job
You can specify that the spooler delete a job if the job is not printed by a
certain time. The job-discard-time attribute specifies the time.
When the job discard time arrives, the spooler deletes the job whether or not
it has printed and regardless of the job state.
To specify a job discard time, end users can use the pdmod command, and
administrators and operators can use the pdset command.
The following examples show how to set a job discard time:
7–10 Managing Jobs and Documents










