Suspends a job, Despooler or formqueue while a job is being despooled.
Job (J), Despooler (D), or Queue>
SP-SUSPEND {job-file} job-id (J{F}
SP-SUSPEND despooler-name (D
SP-SUSPEND queue-name
queue-name (Queue
)
is the name of the formqueue from which printing is to be suspended.
despooler-name (Despooler
)
is the name of the Despooler you wish to suspend.
job-id (Job
)
is the name of the print job to suspend.
job-file specifies the job file to be used for the duration of the command execution. If you specify job-file you must also use the F option.
D Defines the preceding parameter to be a Despooler name.
F Specifies that the first parameter after the verb is the required job file.
J Defines the preceding parameter to be a job name.
If no option is specified, the action is executed by formqueue.
Only job-ids of print jobs in the currently specified job file are recognised and suspended. The specified job file must be local.
You can specify job-file in the TCL command statement and at the SP-JOBS
action code prompt. At the Job (J
) prompt you enter the
new specified job file name using the same syntax as at TCL, that is:
job-file job-id (JF
To restart the suspended job, Despooler or formqueue use SP-JOBS Action Code 7 or SP-RESUME.
This action/command is useful for suspending printing in the event of a paper jam. Once the jam is cleared, you can use SP-RESUME.
To suspend the print job ADMIN12 while it is despooling, enter:
SP-SUSPEND ADMIN12 (J
Or alternatively, enter:
SP-JOBS
and select Action Code 9 on the Print Jobs screen.
At the next prompt, enter the job-id, as follows:
Job (J), Despooler (D), or Queue> ADMIN12 (J
In this example, the job ADMIN12 must be in the currently specified job file. If it is not but it is in the job file ADMIN.JOBS, then you must enter:
SP-SUSPEND ADMIN.JOBS ADMIN12 (JF
or enter the specified job file name at the action code prompt, as follows:
Job (J), Despooler (D), or Queue> ADMIN.JOBS ADMIN12 (JF
To suspend the Despooler PTR12 while despooling a print job, enter:
SP-SUSPEND PTR12 (D
Or alternatively, enter:
SP-JOBS
and select Action Code 9 on the Print Jobs screen.
At the next prompt, enter the Despooler name, as follows:
Job (J), Despooler (D), or Queue> PTR12 (D
The Despooler PTR12 stops immediately in mid-job. Later SP-RESUME can be used to restart despooling at the point the job was suspended.
To suspend the formqueue STANDARD while a job is printing, enter:
SP-SUSPEND STANDARD
Or alternatively, enter:
SP-JOBS
and select Action Code 9 on the Print Jobs screen.
At the next prompt, enter the formqueue name , as follows:
Job (J), Despooler (D), or Queue> STANDARD