Command reference / spool
HLDOUTQ
Hold Output Queue
The Hold Output Queue (HLDOUTQ) command prevents all currently waiting spooled files, and all spooled files that are added to the output queue after the command is issued, from being processed by a spooling writer. This command has no effect on jobs currently running and adding spooled files to the output queue. It also has no effect on the spooled output that is being produced by a spooling writer at the time the command is issued. When the spooling writer completes all copies of the current output file, it cannot begin the output for any other files until the queue is released.
Allowed environments: *ALL.
Positional parameters: 1.
Parameters
OUTQ
Output queue
Specifies the name of the output queue that will have its current and future spooled files withheld from further processing. This is a required parameter.
Qualifier 1: Output queue: name- Specify the name of the output queue to hold.
Qualifier 2: Library: name- Specify the name of the library where the output queue is located.
*LIBL- All libraries in the library list for the current thread are searched until the first match is found.
*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.
Qualified parts (object, then library; write LIBRARY/OBJECT)
Output queue
Output queue
Library
Library
Suggested / special values:
*LIBL, *CURLIB
Examples
HLDOUTQ OUTQ(QPRINT)
This command prevents the processing of the spooled files on the QPRINT queue and any spooled files added to the queue. They are held until the queue is released or cleared. A specific job (with its spooled files) can also be ended with the ENDJOB command, which removes the spooled files from the output queue.
Generated from os/cl/catalog/HLDOUTQ.json and os/cl/help/HLDOUTQ.json.