Where allowed to run: All environments (*ALL) Threadsafe: No |
Parameters Examples Error messages |
The Work with Writers (WRKWTR) command gives the status of printers and writers. This can be the overall status of all writers, the overall status of all printers (along with writer information for these printers), or the detailed status of a specific writer. The status of the writers may change while the command is running.
Top |
Keyword | Description | Choices | Notes |
---|---|---|---|
WTR | Writer | Generic name, name, *PRT, *ALL | Optional, Positional 1 |
OUTQ | Output queue | Single values: *ALL Other values: Qualified object name |
Optional, Positional 2 |
Qualifier 1: Output queue | Name | ||
Qualifier 2: Library | Name, *LIBL, *CURLIB | ||
OUTPUT | Output | Optional | |
DSPFMT | Display format | *INLENV, *S36FMT, *NORMAL | Optional |
ASTLVL | Assistance level | *PRV, *USRPRF, *BASIC, *INTERMED | Optional |
Top |
Specifies the spooling writer for which detailed information is displayed, or specifies that the main attributes and status of all spooling writers or all printers are to be displayed.
Top |
Specifies the output queue from which writers have been started. Writers that are started from this output queue are shown.
This parameter is valid only if WTR(*ALL) is specified.
Single values
Qualifier 1: Output queue
Qualifier 2: Library
Top |
Specifies whether the output from the command is displayed at the requesting work station or printed with the job's spooled output on a printer. If the System/36 display format is selected through the Display format (DSPFMT) parameter, this parameter is ignored. The data is presented at your terminal.
Note: *PRINT cannot be specified if you are using an S/36 environment. If the command is run interactively, the output will be displayed but not printed. If the command is run in batch, an error message will be sent and no output will be produced.
Top |
Specifies the format and terminology to be used on the displays that result from entering this command. This parameter is valid only if *PRT was specified on the Writer prompt (WTR parameter).
Top |
Specifies which user interface to use.
Top |
Example 1: Working With the Status of All Printers and Writers
WRKWTR WTR(*ALL)
This command displays the Work with All Printers panel. From this panel, you can work with the status of all printers and writers.
Example 2: Working With the Status of One Writer
WRKWTR WTR(DISKWRITE)
This command allows you to work with detailed information about writer DISKWRITE.
Top |
*ESCAPE Messages
Top |