Where allowed to run: All environments (*ALL) Threadsafe: No |
Parameters Examples Error messages |
The Work with Output Queues (WRKOUTQ) command allows the user to display and work with either the overall status of all output queues or all output queues that match the qualified generic name specified and to which the user is authorized, or the detailed status of a specific output queue. The status of the queues may change while the command is being run.
Top |
Keyword | Description | Choices | Notes |
---|---|---|---|
OUTQ | Output queue | Single values: *ALL Other values: Qualified object name |
Optional, Positional 1 |
Qualifier 1: Output queue | Generic name, name | ||
Qualifier 2: Library | Name, *LIBL, *CURLIB, *ALL | ||
OUTPUT | Output | Optional, Positional 2 |
Top |
Specifies either that the status of all output queues or all output queues that match the qualified generic name specified is shown, or specifies the qualified name of a single output queue for which the status is shown.
Note: When a generic output queue name is specified and qualified with a library name, the overall status of all output queues that match the generic name is shown even if there is only one output queue that matches the generic name.
Single values
Qualifier 1: Output queue
Qualifier 2: Library
Note: When *ALL is specified for the library, the overall status of the output queues is shown even if only one output queue is found.
Top |
Specifies whether the output from the command is displayed at the requesting work station or is printed with the job's spooled output on a printer.
Top |
Example 1: Working with Status Information for Specific Output Queue
WRKOUTQ OUTQ(QGPL/QPRINT)
This command displays the Work with Output Queue panel for output queue QPRINT in library QGPL. Each spooled file on the QPRINT output queue is shown.
Example 2: Searching for Output Queues Using a Generic Name
WRKOUTQ OUTQ(QGPL/QPRI*)
This command displays the Work with All Output Queues panel, showing a list of all output queues whose names start with the letters 'QPRI' and exist in the QGPL library.
Top |
*ESCAPE Messages
Top |