Add LAN Adapter Information (ADDLANADPI)

Where allowed to run: All environments (*ALL)
Threadsafe: No
Parameters
Examples
Error messages

The Add Local Area Network Adapter Information (ADDLANADPI) command adds an adapter name entry to the adapter file.

Top

Parameters

Keyword Description Choices Notes
ADPTNAME Adapter Name Required, Positional 1
ADPTADR Adapter address 000000000001-7FFFFFFFFFFF Required, Positional 2
LINETYPE Line type *DDI, *TRN Required, Positional 3
TEXT Text 'description' Character value, *BLANK Optional
Top

Adapter (ADPTNAME)

Specifies the name of the adapter being added to the adapter file. The name can be a maximum of 10 characters in length.

This is a required parameter.

Top

Adapter address (ADPTADR)

Specifies the 12-character hexadecimal adapter address.

This is a required parameter.

Top

Line description (LINETYPE)

Specifies the line type of the entry.

*DDI
A distributed data interface (DDI) line type is used.
*TRN
A token-ring network (TRN) line type is used.

This is a required parameter.

Top

Text 'description' (TEXT)

Specifies the text that briefly describes the object.

The possible values are:

*BLANK
Text is not specified.
character-value
Specify no more than 50 characters of text, enclosed in apostrophes.
Top

Examples

ADDLANADPI   ADPTNAME(PAYROLL)  ADPTADR(00000000012B)
             LINETYPE(*TRN)

This command adds the adapter PAYROLL, with the address 00000000012B, to the network adapter file. The line is a token-ring line.

Top

Error messages

*ESCAPE Messages

CPF8B48
Adapter name - &29 or address - &30 already in the network adapter file
CPF8B68
Line description &23 not found.
CPF8B69
Line description &23 not valid for requested action.
CPF8B74
Request to display active adapters failed.
CPF8B75
No adapter entries in network adapter file.
CPF8B76
No functional addresses for adapter.
Top