Command reference / sys

WRKCFGSTS

Work with Configuration Status

Displays and works with configuration status functions. Running the command shows the Work with Configuration Status display. For network server descriptions, the status shown is the object's configuration status, and options are available to check integrated server functions and client sessions, for example to look for active clients before varying off a network server description. The QSYS2.ASP_INFO view returns similar information about auxiliary storage pools (ASPs).

Allowed environments: *ALL. Positional parameters: 3.

Parameters

CFGTYPE Type

Specifies the type of description whose status you want shown.

Type
*CHAR
Required
Yes
Length
4
Case
Uppercase

Allowed values: *NWS, *NWI, *LIN, *CTL, *DEV

*NWS
Shows status for network server descriptions.
*NWI
Shows status for network interfaces.
*LIN
Shows status for lines.
*CTL
Shows status for controllers.
*DEV
Shows status for devices.

CFGD Configuration description

Specifies the descriptions to display on the Work with Configuration Status display.

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

Suggested / special values: *ALL, *CMN, *ASYNC, *BSC, *DDI, *ELAN, *FAX, *FR, *IDLC, *NET, *PPP, *SDLC, *TDLC, *TRLAN, *WLS, *X25, *WS, *LWS, *RWS, *VWS, *CRP, *DKT, *MLB, *OPTMLB, *TAPMLB, *OPT, *ASP, *NWSH, *TAP, *DSP, *LCLDSP, *RMTDSP, *VRTDSP, *PRT, *LANPRT, *LCLPRT, *RMTPRT, *VRTPRT, *LOC, *SNPT, *APPC, *FNC, *HOST, *RTL, *INTRA, *ATM, *ISDN, *T1

*ALL
Status for all network interfaces, lines, controllers, or devices (per CFGTYPE), plus attached controllers and devices.
*RMTDSP
Status for remote display station devices.
*LOC
Status for devices at a specific remote location. Requires CFGTYPE(*DEV) and RMTLOCNAME.

OUTPUT Output

Specifies whether command output is displayed at the requesting work station or printed with the job's spooled output.

Type
*CHAR
Required
No
Default
*
Length
6
Case
Uppercase

Allowed values: *, *PRINT

*
Displayed for interactive jobs, or printed with the job's spooled output for non-interactive jobs.
*PRINT
Printed with the job's spooled output.

RMTLOCNAME Remote location

Specifies the remote location name of the devices for which status is displayed. Only device descriptions with that remote location name are listed.

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

Suggested / special values: *NONE

*NONE
Status is not filtered by remote location name. Use *NONE for CFGTYPE *NWI, *LIN, or *CTL, and whenever CFGD is not *LOC.

RANGE Range

Type
*CHAR
Required
No
Default
*NET
Length
4
Case
Uppercase

Allowed values: *NET, *OBJ

STATUS Status

Specifies the status values used to subset the list of descriptions shown. Ignored if a single description name is given for CFGD.

Type
*CHAR
Required
No
Default
*ALL
Length
10
Case
Uppercase

Allowed values: *ALL, *ACTIVE, *FAILED, *VARYOFF, *VARYON, *AVAILABLE

*ALL
All descriptions are included regardless of status.
*ACTIVE
All descriptions with an active status are shown.
*AVAILABLE
All descriptions with an available status are shown.
*FAILED
All descriptions with a failed, recovery, damaged, shutdown, or unknown status are shown.
*VARYOFF
All descriptions with a varied off or vary-off-pending status are shown.
*VARYON
All descriptions that are not varied off or vary-off-pending are shown.

ASTLVL Assistance level

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

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

Examples

WRKCFGSTS CFGTYPE(*DEV) CFGD(*RMTDSP)

Uses the Work with Configuration Status display to show status for all remote display stations.

IBM command documentation

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