Command reference / spool
WRKOUTQ
Work with Output Queue
Displays and works with either the overall status of all output queues, or of all output queues matching a qualified generic name that you are authorized to, or the detailed status of one specific output queue. Queue status may change while the command runs. The QSYS2.OUTPUT_QUEUE_ENTRIES and QSYS2.OUTPUT_QUEUE_ENTRIES_BASIC views and the QSYS2.OUTPUT_QUEUE_ENTRIES table function return similar information.
Allowed environments: *ALL.
Positional parameters: 2.
Parameters
OUTQ
Output queue
Specifies either the overall status of all output queues (or those matching a qualified generic name), or the qualified name of one output queue whose detailed status is shown.
Suggested / special values:
*ALL
*ALL- As the queue value, a list of all output queues is displayed. As the library value, all libraries in the system, including QSYS, are searched and overall status is shown.
*LIBL- All libraries in the thread's library list are searched until the first match is found.
*CURLIB- The current library for the job is used to locate the output queue.
Qualified parts (object, then library; write LIBRARY/OBJECT)
Output queue
Output queue
Library
Library
Suggested / special values:
*LIBL, *CURLIB, *ALL
OUTPUT
Output
Specifies whether the command output is displayed at the requesting workstation or printed on a printer with the job's spooled output.
Allowed values:
*, *PRINT
*- Displayed if an interactive job requests it, or printed with the job's spooled output if a batch job requests it.
*PRINT- Printed on a printer with the job's spooled output.
Examples
WRKOUTQ OUTQ(QGPL/QPRINT)
Displays the Work with Output Queue panel for output queue QPRINT in library QGPL, showing each spooled file on that queue.
Generated from os/cl/catalog/WRKOUTQ.json and os/cl/help/WRKOUTQ.json.