Action Code 9 Suspend Printing and SP-SUSPEND

Suspends a job, Despooler or formqueue while a job is being despooled.

Prompts

Job (J), Despooler (D), or Queue>

TCL syntax

SP-SUSPEND {job-file} job-id (J{F}

SP-SUSPEND despooler-name (D

SP-SUSPEND queue-name

Prompt/Syntax elements

queue-name (Queue)
The name of the formqueue from which printing is to be suspended.

despooler-name (Despooler)
The name of the Despooler you wish to suspend.

job-id (Job) 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.

Options

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.

Specified job file

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

Restarting printing

To restart the suspended job, Despooler or formqueue use SP-JOBS Action Code 7 or SP-RESUME.

When to use this action/command

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.

Examples

Suspending a job

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

Suspending a Despooler

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.

Suspending a formqueue

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