WRKLANADPT (Work with LAN Adapters)

WRKLANADPT Command syntax diagram

 

Purpose

The Work with Local Area Network Adapters (WRKLANADPT) command shows a list of the active and inactive local area network (LAN) adapters on the local network.

 

Notes

  1. To determine whether network adapters are active or inactive, the LAN manager performs a query of all adapters that are entered in the network adapter file. Adapters that respond to the query are identified as being active on the network; those that do not respond are identified as being inactive on the network.
  2. Adapters that are not currently entered in the network adapter file are automatically added, and a default adapter name is assigned. The default adapter name consists of the character D, followed by the last nine digits of the adapter address.

 

Required Parameters

LINE
Specifies the name of the line description that is attached to the adapters to be displayed.

 

Optional Parameters

OUTPUT
Specifies whether the output from the command is shown at the requesting workstation or printed with the job's spooled output. More information on this parameter is in commonly used parameters.

*: Output requested by an interactive job is shown on the display. Output requested by a batch job is printed with the job's spooled output.

*PRINT: The output is printed with the job's spooled output.

Example for WRKLANADPT

WRKLANADPT  LINE(DETBRANCH)

This command displays a list of adapters that are connected to the DETBRANCH line.

Error messages for WRKLANADPT

*ESCAPE Messages

CPF8B68
Line description &23 not found.
CPF8B69
Line description &23 not valid for requested action.
CPF8B72
Change failed. Adapter &29 not found in network adapter file.
CPF8B74
Request to display active adapters failed.
CPF8B75
No adapter entries in network adapter file.
CPF8B76
No functional addresses for adapter.