Retrieve Network Attributes (QWCRNETA) API


  Required Parameter Group:


  Default Public Authority: *USE

  Threadsafe: Yes

The Retrieve Network Attributes (QWCRNETA) API lets you retrieve network attributes.


Authorities and Locks

None.


Required Parameter Group

Receiver variable
OUTPUT; CHAR(*)

The variable that is to receive the information requested. For the format, see Format of Data Returned.

Length of receiver variable
INPUT; BINARY(4)

The length of the receiver variable described in Format of Data Returned. If the length is larger than the size of the receiver variable, the results may not be predictable. The minimum length is 28 bytes.

Number of network attributes to retrieve
INPUT; BINARY(4)

The total number of network attributes to be retrieved.

Network attribute names
INPUT: ARRAY(*) of CHAR(10)

The names of the network attributes to be retrieved. This can be a list of network attribute names where each name is 10 characters.

Error code
I/O; CHAR(*)

The structure in which to return error information. For the format of the structure, see Error code parameter.


Format of Data Returned

The receiver variable holds the information returned about each network attribute.

The receiver variable has three logical parts:

  1. The first field specifies the number of network attributes returned.
  2. The next fields give the offsets to the network attributes returned. There is one offset field for each network attribute returned.
  3. Next are the network attribute information tables for the network attributes returned. There is one network attribute information table for each network attribute.
The following table shows the format of the receiver variable. The offset fields are repeated until the offsets for all the network attributes returned are listed; the network attribute information table for each network attribute is repeated in the same way. For a detailed description of each field, see the Field Descriptions.

The format of the receiver variable is:

To determine the length of the receiver variable, the following calculation should be done. For each network attribute to be returned, get the length of the data returned for the network attribute and add 24. After adding the values for each network attribute, add 4. This calculation takes into account the data alignment that needs to be done; therefore, this value is a worst-case estimate.


Network Attribute Information Table

The following table shows the format of the network attribute information table.



Field Descriptions

Data. The data returned for the network attribute.

Information status. Whether the information was available for the network attribute.

Length of data. The length of the data returned for the network attribute. If this value is 0, the network attribute was not available.

Network attribute. The network attribute to be retrieved. See Valid Network Attributes for the list of valid network attributes.

Number of network attributes returned. The number of network attributes returned to the application.

Offset to network attribute information table. The offset from the beginning of the structure to the start of the network attribute information.

Type of data. The type of data returned.



Valid Network Attributes

For a detailed description of each field, see Network Attribute Field Descriptions.



Network Attribute Field Descriptions

Addition resistance. The Advanced Peer-to-Peer Networking® (APPN) function routes addition resistance for an APPN node type of *NETNODE or *BEXNODE.

Alert backup focal point. Identifies the system that provides alert focal point services if the local system is unavailable and ALRPRIFP is *YES. The backup focal point is only used by systems in the primary sphere of control. The first eight characters are the control point name and the last eight characters are the network ID. *NONE means no backup focal point is defined.

Alert controller. The name of the controller to be used for alerts in a system service control point - physical unit (SSCP-PU) session. This controller is ignored if the system has a focal point (in which case the node is in another system's sphere of control). *NONE means no alert controller is defined.

Alert filter. The name of the filter object that is used by the alert manager when processing alerts. *NONE means no alert filter is being used. The first ten characters are the filter name and the last ten characters are the library name.

Alert focal point. Whether or not the system is an alert default focal point.

Alert focal point to request. Specifies the name of the system that is requested to provide focal point services. If a focal point is already defined for the entry point, it is taken away when the new focal point is requested. *NONE means no focal point is requested.

Alert hold count. The maximum number of alerts to be created before the alerts are sent over the System Service Control Point - Physical Unit (SSCP-PU) session. Alerts are held by the system until this number of alerts have been created. If the Alert Controller (ALRCTLD) network attribute is being used to send alerts (SSCP-PU session), alerts will be sent automatically regardless of the ALRHLDCNT network attribute when a switched connection is made for other reasons.

Alert logging status. Specifies which alerts are to be logged:

Alert primary focal point. Whether or not the system is an alert primary focal point.

Alert status. Alert status controls the creation of local alerts. The following is a list of values and their meanings:

Allow add to cluster. Whether this system will allow another system to add it as a node in a cluster. The following is a list of values and their meanings:

Allow AnyNet® support. The AnyNet support value is used for the UNIX®-type APIs that use the AF_INET address family. The following is a list of values and their meanings:

Allow HPR tower support. The HPR transport tower support value is used for APPN session traffic. The following is a list of values and their meanings:

Allow virtual APPN support. The virtual APPN support value is used to specify whether or not APPC sessions and devices are allowed to use virtual APPN controllers.

Autocreate APPC device limit. The specification for the APPC device limit used for autocreation of devices on virtual APPN controllers.

APPN node type. The Advanced Peer-to-Peer Networking (APPN) node type can have the following values:

Client Access. The way in which the system processes Client Access requests from other systems.

Current system name. The current system name that appears on displays.

Data compression. Whether data compression is used when the system is an SNA end node (the node containing either a primary or secondary LU). This field is used by mode descriptions that specify *NETATR for data compression. The following values are valid:

If data compression is requested by the remote system, the data compression levels used by the session are the lower of the requested levels and the configured levels (INDTACPR and OUTDTACPR).

DDM request access. The system processes distributed data management (DDM) and Distributed Relational Database Architecture™ (DRDA®) requests from other systems as follows:

Default ISDN connection list. The name of the default integrated services digital network (ISDN) connection list object. The operating system no longer uses this network attribute. Changes made to this network attribute have no effect.

Default mode. The default mode name for the system.

HPR path switch timers. The settings for the amount of time, in minutes, to allow for a path switch attempt of a Rapid Transport Protocol (RTP) connection. Four positional values exist to specify the time allowed based on the type of session traffic. Each positional timer will consist of 10 characters within the 40-character field. A description of each element within the field is given below:

Network priority timer (characters 1-10)
The first element is the network priority timer, which specifies the amount of time in minutes to allow for a path switch attempt of an RTP connection that has network transmission priority or *NONE.

High priority timer (characters 11-20)
The second element is the high priority timer, which specifies the amount of time in minutes to allow for a path switch attempt of an RTP connection that has high transmission priority or *NONE.

Medium priority timer (characters 21-30)
The third element is the medium priority timer, which specifies the amount of time in minutes to allow for a path switch attempt of an RTP connection that has medium transmission priority or *NONE.

Low priority timer (characters 31-40)
The fourth element is the low priority timer, which specifies the amount of time in minutes to allow for a path switch attempt of an RTP connection that has low transmission priority or *NONE.

Intermediate data compression. The level of data compression to request when the system is an SNA intermediate node. The following are valid values:

ISDN network type. The type of integrated services digital network (ISDN) to which the system is attached. The operating system no longer uses this network attribute. Changes made to this network attribute have no effect.

Job action. The action that is taken for any input stream received through the SNA distribution services (SNADS) network by the system.

Local control point. The local control point name for the system.

Local location. The default local location name for the system.

Local network ID. The local network ID assigned to the system.

Maximum hop count. The maximum number of times in an SNA distribution services (SNADS) network that a distribution queue entry originating at this node may be received and routed on the path to its final destination. If this number is exceeded, the distribution queue entry is ended. When the distribution queue entry is ended, a feedback status is sent back to the sender if it was requested.

Maximum sessions. The maximum number of advanced program-to-program communications (APPC) intermediate sessions for an Advanced Peer-to-Peer Networking (APPN) node type of *NETNODE or *BEXNODE.

Message queue. The name of the message queue to which messages received through the SNA distribution services (SNADS) network are sent for:

The first 10 characters are the message queue name, and the last 10 characters are the library name.

Modem country or region ID. The country or region identifier associated with a modem.

This defines the country or region-specific default characteristics for modems that are internal to IBM® i I/O adapters. This value must be configured correctly to ensure proper operation and, in some countries or regions, meet legal requirements. The adapter will fail the vary on of the line if the modem country or region ID is not set.

Network server domain. The LAN server domain to which all Integrated xSeries® Servers (also known as file server I/O processor and FSIOP) on the system belong.

Output queue. The name of the output queue to which spooled files received through the SNA distribution services (SNADS) network are sent for users whose output queue is not available. The first 10 characters are the output queue name, and the last 10 characters are the library name.

Pending system name. The pending system name (if a change is pending). This will contain blanks if no change is pending.

Server network ID. The network node server of an Advanced Peer-to-Peer Networking (APPN) network (up to a maximum of five) for an APPN node type of *ENDNODE. The list is not used for an APPN node type of *NETNODE or *BEXNODE.


Error Messages



API introduced: V2R3

[ Back to top | Work Management APIs | APIs by category ]