CL Command Reference - HLDWTR
CL Command List > HLDWTR Reference
Description:
The Hold Writer (HLDWTR) command stops the specified writer at the end of a record, at the end of a spooled file, or at the end of a printed page. If multiple copies of a file are produced, the writer can be held at the end of the copy currently being produced. The writer is not stopped and the device is not made available to the system. The writer remains inactive until a Release Writer (RLSWTR) or End Writer (ENDWTR) command is issued. Data is not lost when the writer is held.
Examples:
HLDWTR WTR(PRINTER) OPTION(*CNTRLD)
This command stops the writer named PRINTER at the end of the current file. The writer is held until an RLSWTR (Release Writer) or ENDWTR (End Writer) command is issued.