Action Code 7 Resume Printing and SP-RESUME
Used to restart a print job, Despooler or formqueue after an enforced stopping of printing.
Prompts
Job (J), Despooler (D), or Queue>
TCL syntax
SP-RESUME {job-file} job-id (J{F}
SP-RESUME despooler-name (D
SP-RESUME queue-name
Prompt/Syntax elements
queue-name (Queue
)
is the name of the formqueue from which printing is to be restarted.
despooler-name (Despooler - D
)
is the name of the Despooler you wish to restart.
job-id (Job - J
) is the name of the print job to restarted.
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 restarted. 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
When to use this action/command
SP-JOBS Action Code 7 Resume Printing or the SP-RESUME command may be used in the following circumstances:
- If printing has been stopped by SP-STOP or Action Code 6 Stop Printing.
- If printing has been suspended by SP-SUSPEND or Action Code 9 Suspend Printing. In this case when you restart printing, it resumes at the point at which it was stopped.
- If a tape problem which caused a condition of 'Stopped', 'Suspended', 'Tape N/Rdy', 'Write Ring?', 'Next Reel', 'Parity' or 'Error' has been corrected.
Examples
Restarting a job
To restart the print job ADMIN12 enter:
SP-RESUME ADMIN12 (J
Or alternatively, enter:
SP-JOBS
and select Action Code 7 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-RESUME 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
Restarting a Despooler
To restart the Despooler PTR12, enter:
SP-RESUME PTR (D
Or alternatively, enter:
SP-JOBS
and select Action Code 7 on the Print Jobs screen.
At the next prompt, enter the Despooler name, as follows:
Job (J), Despooler (D), or Queue> PTR12 (D
If the Despooler was stopped using SP-SUSPEND or Action Code 9 Suspend Print, despooling begins at the point at which it was stopped.
Restarting a formqueue
To restart the formqueue STANDARD, enter:
SP-RESUME STANDARD
Or alternatively, enter:
SP-JOBS
and select Action Code 7 on the Print Jobs screen.
At the next prompt, enter the formqueue name , as follows:
Job (J), Despooler (D), or Queue> STANDARD
The Despooler assigned to formqueue STANDARD stops at the end of the job it is currently printing.