Command reference / spool

WRKWTR

Work with Writers

Shows the status of printers and writers: the overall status of all writers, the overall status of all printers with their writer information, or the detailed status of one specific writer. Status may change while the command runs.

Allowed environments: *ALL. Positional parameters: 2.

Parameters

WTR Writer

Names the spooling writer to show in detail, or selects all writers or all printers.

Type
*GENERIC
Required
No
Default
*PRT
Length
10
Case
Uppercase

Suggested / special values: *PRT, *ALL

*PRT
Lists all printers, along with information about the writers started to them.
*ALL
Shows the attributes and current status of all spooling writers.

OUTQ Output queue

Selects the output queue from which writers were started, so only those writers are shown. Valid only when WTR(*ALL) is specified.

Type
*QUAL
Required
No
Default
*ALL
Case
Uppercase

Suggested / special values: *ALL

*ALL
Works with writers started to all output queues.
Qualified parts (object, then library; write LIBRARY/OBJECT)

Output queue Output queue

Type
*NAME
Required
No
Length
10
Case
Uppercase

Library Library

Type
*NAME
Required
No
Default
*LIBL
Length
10
Case
Uppercase

Suggested / special values: *LIBL, *CURLIB

OUTPUT Output

Chooses whether output is shown at the requesting workstation or printed with the job's spooled output on a printer.

Type
*CHAR
Required
No
Default
*
Length
6
Case
Uppercase

Allowed values: *, *PRINT

*
Shown if an interactive job requests it, or printed with spooled output if a batch job requests it.
*PRINT
Printed with the job's spooled output. Cannot be used in an S/36 environment.

DSPFMT Display format

Sets the format and terminology used on the resulting displays. Valid only when WTR(*PRT) is specified.

Type
*CHAR
Required
No
Default
*INLENV
Length
7
Case
Uppercase

Allowed values: *INLENV, *S36FMT, *NORMAL

*INLENV
Uses the SPCENV value in your user profile.
*S36FMT
Presents information in System/36 terminology.
*NORMAL
Presents information in this system's terminology.

ASTLVL Assistance level

Selects which user interface is used.

Type
*CHAR
Required
No
Default
*PRV
Length
9
Case
Uppercase

Allowed values: *PRV, *USRPRF, *BASIC, *INTERMED

*PRV
Shows the previously used user interface.
*USRPRF
Uses the interface set on your user profile.
*BASIC
Uses the Operational Assistant user interface.
*INTERMED
Uses the system user interface.

Examples

WRKWTR WTR(DISKWRITE)

Works with detailed information about writer DISKWRITE.

IBM command documentation

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