Work with Device Descriptions (WRKDEVD)

Where allowed to run: Interactive environments (*INTERACT *IPGM *IREXX *EXEC)
Threadsafe: No
Parameters
Examples
Error messages

The Work with Device Descriptions (WRKDEVD) command is used to display and to work with device description functions through the Work with Device Descriptions panel.

Top

Parameters

Keyword Description Choices Notes
DEVD Device description Generic name, name, *ALL, *ASP, *CMN, *DKT, *DSP, *LCLDSP, *RMTDSP, *VRTDSP, *LOC, *MLB, *OPTMLB, *TAPMLB, *OPT, *NWSH, *PRT, *LANPRT, *LCLPRT, *RMTPRT, *VRTPRT, *CRP, *TAP, *SNPT Optional, Positional 1
RMTLOCNAME Remote location Generic name, name, *NONE Optional
Top

Device description (DEVD)

Specifies the name of the device description.

*ALL
Work with all device descriptions.
*ASP
Work with auxiliary storage pool devices.
*CMN
Work with communications devices.
*CRP
Work with cryptographic devices.
*DKT
Work with diskette unit (drive) devices.
*DSP
Work with all display station devices.
*LCLDSP
Work with local display station devices.
*RMTDSP
Work with remote display station devices.
*VRTDSP
Work with virtual (pass-through) display station devices.
*LOC
Work with devices at a specific remote location.
*MLB
Both optical and tape media library devices are shown.
*OPTMLB
Optical media library devices are shown.
*TAPMLB
Tape media library devices are shown.
*OPT
Optical disk devices are shown.
*NWSH
Work with network server host adapter devices.
*PRT
Work with all printer devices.
*LANPRT
Printer devices attached to a local area network (LAN) are shown.
*LCLPRT
Work with local printer devices.
*RMTPRT
Work with remote printer devices.
*VRTPRT
Work with virtual (pass-through) printer devices.
*TAP
Work with tape unit (drive) devices.
*SNPT
Work with SNA pass-through devices.
generic-device-description-name
Specify a generic device description name.

Note: A generic name is specified as a character string that contains one or more characters followed by an asterisk (*). If a generic name is specified, then all objects that have names with the same prefix as the generic object name are selected.

device-description-name
Work with a specific device description.
Top

Remote location (RMTLOCNAME)

Specifies the remote location name for those device descriptions that are to be displayed. Only those device descriptions with the specified remote location name are listed on the Work with Device Descriptions display. This parameter is required if *LOC is specified for the Device description (DEVD) parameter. It is not a valid parameter if any value other than *LOC is specified for the DEVD parameter.

*NONE
If *NONE is specified, all of the devices with a remote location name of *NONE can be worked with.

Note: *NONE should be specified if any value other than *LOC is specified for the DEVD parameter.

remote-location-name
Specify the remote location name of the devices you want to work with.
generic-controller-description
Specify a generic controller description.

Note: A generic name is specified as a character string that contains one or more characters followed by an asterisk (*). If a generic name is specified, then all objects that have names with the same prefix as the generic object name are selected.

Top

Examples

WRKDEVD   DEVD(*LCLPRT)

This command displays the Work with Device Descriptions panel showing all the local printers to which you have authority.

Top

Error messages

None

Top