Action Code 7 Delete Queue and SP-FQDELETE
Deletes a formqueue.
Prompts
Form Queue -
TCL syntax
SP-FQDELETE form-queue
Prompt/Syntax elements
form-queue (Form Queue -
)
is the name of the formqueue you want to delete.
Restrictions
You cannot delete a formqueue while a job is being despooled from it.
Comments
If you delete a formqueue while print jobs are queued, the print jobs in the queue are not deleted and are still displayed on the Print Jobs screen showing a null Queue Name. They can still be manipulated using many of the SP-JOBS Action Codes by specifying their job-ids. For example, you can move them to a named formqueue using Action Code 2 'Switch One Job'.
You can if you want re-create the previously deleted formqueue name using SP-STATUS Action Code 1 and switch the jobs back to it.
Example
To delete the formqueue called PARTS you can either use the full syntax and enter:
SP-FQDELETE PARTS
or you can use SP-STATUS Action Code 7. Enter:
SP-STATUS
then select Action Code 7 at the Form Queue Status screen prompt:
Enter Action Code / Page Number (P#)?7
Finally, enter the name of the queue to be deleted.
Form Queue -PARTS