Action Code 5 Delete Job and SP-DELETE
Deletes one or more print jobs.
Prompts
Job List:
TCL syntax
SP-DELETE {job-file} job-list (options
Prompt/Syntax elements
job-list (Job List
)
is the identity of the print jobs(s) to delete. Job-ids should be separated spaces or commas. It can also be a SELECT list in the job file.
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
F Specifies that the first parameter after the verb is the required job file.
U Determines the job files of the print jobs in job-list from the PRINT.JOB.CONTROL items. This means that all specified print jobs, if they are in the Spooler are identified and deleted without needing to specify their job files.
Restrictions
Print jobs with 'Open' or 'Edit' status cannot be deleted. Also a print job with 'Print' status cannot be deleted until it is suspended using SP-JOBS Action Code 9 or SP-SUSPEND.
Note
To delete a print job that is open, being edited, or still being printed, when a program crashes, you can use the SP-FIX command.
Specified job file
Only job-ids of print jobs in the currently specified job file are recognised and deleted, unless the U option is used. The specified job file must be local. Any attempt to delete print jobs residing in another job file (without the U option) will result in an error message. See also the topic Specified Job File.
Example
To delete print job numbers 4,7 and 12, enter:
SP-DELETE admin0004,admin0007,admin0012
Alternatively, enter:
SP-JOBS
then select Action Code 5 on the Print Jobs screen. Then at the next prompt, enter the job numbers to be deleted, as follows:
Job List - admin0004 admin0007 admin0012