Add Node List Entry (ADDNODLE)

The Add Node List Entry (ADDNODLE) command adds a new entry to an existing node list object.

Parameters

Keyword Description Choices Notes
NODL Node list Qualified object name Required, Positional 1
Qualifier 1: Node list Name
Qualifier 2: Library Name, *CURLIB, *LIBL
RMTLOCNAME Remote location Element list Optional
Element 1: Name or address Character value
Element 2: Type *SNA, *IP
TEXT Text 'description' Character value, *BLANK Optional
CPNAME SNA node name Single values: *RMTLOC
Other values: Element list
Optional
Element 1: Network identifier Communications name, *NETATR
Element 2: Control point Communications name

Node list (NODL)

Specifies the qualified name of the node list object to which the entry is added.

The node list name can be qualified by one of the following library values:

*LIBL
All libraries in the library list for the current thread are searched until the first match is found.
*CURLIB
The current library for the job is searched. If no library is specified as the current library for the job, the QGPL library is used.
library-name
Specify the name of the library to be searched.

The possible values are:

node-list-name
Specify the name of the node list to which the entry is added.

Remote location (RMTLOCNAME)

Specifies the name and address type of the system to add to the list object. The name can be an SNA network ID and control point name, an internet protocol host name, or an internet address.

An SNA node name is specified using the format nnnnnnnn.cccccccc, where nnnnnnnn is the network ID and cccccccc is the control point name. If only the control point name is specified, the local network ID (LCLNETID) network attribute is used as the value of the network identifier (ID) of the system being added to the node list. If the LCLNETID network attribute is changed, the new value does not affect the existing entries.

A host name must follow these conventions:

The internet address is specified in the form nnn.nnn.nnn.nnn, where nnn is a decimal number ranging from 0 through 255. An internet address is not valid if it has a value of all binary ones or all binary zeros for the network identifier (ID) portion or the host ID portion of the address. If the internet address is entered from a command line, the address must be enclosed in apostrophes.

The possible Name or Address value is:

remote-location-name
Specify the remote location name to add to the node list.

The possible Address Type values are:

*SNA
The node name has a Systems Network Architecture (SNA) address type.
*IP
The node name has an Internet Protocol (IP) address type.

Text 'description' (TEXT)

Specifies text that briefly describes the node list entry.

The possible values are:

*BLANK
Text is not specified.
'description'
Specify no more than 50 characters of text, enclosed in apostrophes.

SNA node name (CPNAME)

Specifies the SNA node name that is being added to the node list object. This system is specified as two elements: the network ID and the control point name.

Notes:

  1. The RMTLOCNAME parameter is recommended for use in specifying the network ID and the control point name.
  2. When the RMTLOCNAME parameter is used to specify the name of a system to add to the node list, *RMTLOC must be specified for this parameter.

The possible values are:

*RMTLOC
The network ID and control point name are specified using the RMTLOCNAME parameter.

The possible Network ID values are:

*NETATR
The local network ID (LCLNETID) network attribute is used as the value of the network identifier (ID) of the system being added to the node list. If the LCLNETID network attribute is changed, the new value does not affect the existing entries.
network-ID
Specify the network ID of the system being added to the node list.

The possible Control Point Name value is:

control-point-name
Specify the control point name of the system being added to the node list.

Note: This field is left blank when *RMTLOC is specified as the network ID.

Examples

Example 1: Adding a System in the Local Network to a Node List

ADDNODLE   NODL(MYLIB/NODL02)  RMTLOCNAME(AS400A01 *SNA)
           TEXT('THE FIRST ISERIES 400 SERVER IN MY NETWORK')

This command adds an entry for system AS400A01, which is in the local network, to the node list NODL02 in library MYLIB. The entry has an address type of SNA. The text description for the entry is 'THE FIRST ISERIES 400 SERVER IN MY NETWORK'.

Example 2: Adding a Host Name to a Node List

ADDNODLE   NODL(MYLIB/NODL02)  RMTLOCNAME(MYSYS.NET1.LOCAL *IP)
           TEXT('SYSTEM AT HEADQUARTERS')

This command adds an entry for host name MYSYS.NET1.LOCAL to the node list NODL02 in library MYLIB. The entry has an address type of IP. The text description for the entry is 'SYSTEM AT HEADQUARTERS'.

Example 3: Adding an Internet Address to a Node List

ADDNODLE   NODL(MYLIB/NODL02)  RMTLOCNAME('9.13.156.8' *IP)
           TEXT('MINNEAPOLIS OFFICE')

This command adds an entry for internet address 9.13.156.8 to the node list NODL02 in library MYLIB. The entry has an address type of IP. The text description for the entry is 'MINNEAPOLIS OFFICE'.

Error messages

*ESCAPE Messages

CPF7AD4
Network ID &1 not in correct format.
CPF7B18
Control point &1 not in correct format.
CPF813E
Node list &4 in &9 damaged.
CPF96B3
Node list entry already exists.
CPF96B5
Remote location name not in correct format.
CPF9801
Object &2 in library &3 not found.
CPF9802
Not authorized to object &2 in &3.
CPF9803
Cannot allocate object &2 in library &3.
CPF9807
One or more libraries in library list deleted.
CPF9808
Cannot allocate one or more libraries on library list.
CPF9810
Library &1 not found.
CPF9820
Not authorized to use library &1.
CPF9830
Cannot assign library &1.