Command reference / spool

CLROUTQ

Clear Output Queue

Removes spooled files waiting on an output queue, including held files.

Allowed environments: *ALL. Positional parameters: 1.

Parameters

OUTQ Output queue

Sets the output queue to be cleared of spooled files.

Type
*QUAL
Required
Yes
Case
Uppercase
name (output queue)
Enter the name of the output queue to be cleared.
*LIBL
Look in the thread's library list.
*CURLIB
The current library for the job is used to locate the output queue. If no current library entry exists in the library list, QGPL is used.
name (library)
Enter the name of the library in which the output queue is located.
Qualified parts (object, then library; write LIBRARY/OBJECT)

Output queue Output queue

Type
*NAME
Required
No
Length
10
Case
Uppercase

Library Library

Type
*NAME
Required
No
Default
*LIBL
Length
10
Case
Uppercase

Suggested / special values: *LIBL, *CURLIB

Examples

CLROUTQ OUTQ(QPRINT)

Removes the entries for all spooled files from the output queue, QPRINT, that are waiting to be printed or are being held.

IBM command documentation

Generated from os/cl/catalog/CLROUTQ.json and os/cl/help/CLROUTQ.json.