Command reference / spool

RLSWTR

Release Writer

Releases a writer that was held with HLDWTR or by a spooled file inquiry, so it produces output again. The writer resumes where it was held (OPTION *CURRENT), at the start of the file it was writing (*BEGIN), or with the next file (*BYPASS). For a printer writer, PAGE names the page to restart at.

Allowed environments: *ALL. Positional parameters: 2.

Parameters

WTR Writer

Specifies the writer to release. This is a required parameter.

Type
*NAME
Required
Yes
Length
10
Case
Uppercase

Suggested / special values: *ALL, *PRT, *RMT, *SYSVAL

*ALL
All held writers are released.
*PRT
All held printer writers are released.
*RMT
All held remote writers are released.
*SYSVAL
The writer started to the system default printer (QPRTDEV) is released.

OPTION Resume writing at

Specifies where the writer resumes when it is released. Specify either OPTION or PAGE, not both.

Type
*CHAR
Required
No
Default
*CURRENT
Length
8
Case
Uppercase

Suggested / special values: *CURRENT, *BEGIN, *BYPASS

*CURRENT
The writer resumes at the point where it was held.
*BEGIN
The writer resumes at the beginning of the file it was writing.
*BYPASS
The writer resumes with the next file; the file it was writing stays held on the output queue.
+number
Resumes the given number of pages past the point where the writer was held.
-number
Resumes the given number of pages before the point where the writer was held.

PAGE Starting page

Specifies the page of the file at which a printer writer restarts. Valid only when the writer was held while producing the file.

Type
*INT4
Required
No
Range
1 to 999999
Case
Uppercase

Examples

RLSWTR WTR(PRT01)

Lets held writer PRT01 print the spooled files waiting on its output queue again.

IBM command documentation

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