Release Output Queue (RLSOUTQ)

The Release Output Queue (RLSOUTQ) command releases the spooled files on the specified output queue. If the files were held by a Hold Spooled File (HLDSPLF) command or were created in a held state, they are not released.

Parameters

Keyword Description Choices Notes
OUTQ Output queue Qualified object name Required, Positional 1
Qualifier 1: Output queue Name
Qualifier 2: Library Name, *LIBL, *CURLIB

Output queue (OUTQ)

Specifies the output queue to be released so that the files on this queue can now be processed.

This is a required parameter.

Qualifier 1: Output queue

name
Specify the name of the output queue to be released.

Qualifier 2: Library

*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.
name
Specify the name of the library where the output queue is located.

Examples

RLSOUTQ   OUTQ(PRINTER)

On the output queue named PRINTER, spooled files that were held by a HLDOUTQ command are released for further processing. This includes spooled files placed on the queue while it was being held, except for specific files that have been held by the HLDSPLF command or were put on the queue in hold.

Error messages

*ESCAPE Messages

CPF2207
Not authorized to use object &1 in library &3 type *&2.
CPF3330
Necessary resource not available.
CPF3357
Output queue &1 in library &2 not found.
CPF3424
Output queue &1 in library &2 not released. Output queue not held.