Where allowed to run: All environments (*ALL) Threadsafe: No |
Parameters Examples Error messages |
The Release Writer (RLSWTR) command releases a held writer so that files on the output queue can now be processed. If the writer was writing a file when it was held, the writer can be released to resume writing this same file or it can be released to start writing the next file. In any case, data from the file that was being written when the Hold Writer (HLDWTR) command was issued is not lost.
Note: You must specify a value for either the Resume writing at (OPTION) parameter or the Starting page (PAGE) parameter. You cannot specify both.
Top |
Keyword | Description | Choices | Notes |
---|---|---|---|
WTR | Writer | Name | Required, Positional 1 |
OPTION | Resume writing at | -32766-32766, *CURRENT, *BEGIN, *BYPASS | Optional |
PAGE | Starting page | Integer | Optional |
Top |
Specifies the spooling writer to release. After releasing the writer, you will be able to process the files on the output queue (provided the output queue is not held).
This is a required parameter.
Top |
Specifies the point in the file where you want the writer to begin. Only the first option *CURRENT can be specified when the writer is not producing a file. The last three options (*BYPASS, +number, and -number) can be specified only if the writer was held while it was producing this file. Also, the only valid option for the diskette writer is *CURRENT.
Top |
Specifies the page where the writer starts printing. This parameter is mutually exclusive with the Resume writing at (OPTION) parameter and is only valid for a printer writer. This parameter can be specified only if the writer was held while producing the file.
Top |
Example 1: Releasing a Writer at Beginning of File
RLSWTR WTR(PRINTER) OPTION(*BEGIN)
This command releases writer PRINTER to begin producing the current file at its beginning.
Example 2: Releasing Writer at Specified Point
RLSWTR WTR(PRTR) OPTION(-3)
This command releases writer PRTR to begin printing again at a point three pages before the point where the writer was held. That is, the last three pages previously printed are the first three pages printed this time.
Example 3: Starting Printing on Page Ten
RLSWTR WTR(PRTR) PAGE(10)
This command releases writer PRTR to start printing again at page ten.
Top |
*ESCAPE Messages
Top |