Where allowed to run: Compiled CL program or interpreted REXX (*BPGM *IPGM *BREXX *IREXX) Threadsafe: No |
Parameters Examples Error messages |
The Retrieve Network Attributes (RTVNETA) command is used in a CL program or REXX procedure to retrieve the network attributes of the system. The values are returned (copied) to the specified variables in the program.
Restrictions: The attributes of the network attribute and the receiving variable must be compatible.
Top |
Keyword | Description | Choices | Notes |
---|---|---|---|
SYSNAME | CL var for SYSNAME (8) | Character value | Optional |
PNDSYSNAME | CL var for PNDSYSNAME (8) | Character value | Optional |
LCLNETID | CL var for LCLNETID (8) | Character value | Optional |
LCLCPNAME | CL var for LCLCPNAME (8) | Character value | Optional |
LCLLOCNAME | CL var for LCLLOCNAME (8) | Character value | Optional |
DFTMODE | CL var for DFTMODE (8) | Character value | Optional |
NODETYPE | CL var for NODETYPE (8) | Character value | Optional |
DTACPR | CL var for DTACPR (10 0) | Decimal number | Optional |
DTACPRINM | CL var for DTACPRINM (10 0) | Decimal number | Optional |
MAXINTSSN | CL var for MAXINTSSN (5 0) | Decimal number | Optional |
RAR | CL var for RAR (5 0) | Decimal number | Optional |
NETSERVER | CL var for NETSERVER (85) | Character value | Optional |
ALRSTS | CL var for ALRSTS (10) | Character value | Optional |
ALRPRIFP | CL var for ALRPRIFP (10) | Character value | Optional |
ALRDFTFP | CL var for ALRDFTFP (10) | Character value | Optional |
ALRLOGSTS | CL var for ALRLOGSTS (7) | Character value | Optional |
ALRBCKFP | CL var for ALRBCKFP (16) | Character value | Optional |
ALRRQSFP | CL var for ALRRQSFP (16) | Character value | Optional |
ALRCTLD | CL var for ALRCTLD (10) | Character value | Optional |
ALRHLDCNT | CL var for ALRHLDCNT (5 0) | Decimal number | Optional |
ALRFTR | CL var for ALRFTR (10) | Character value | Optional |
ALRFTRLIB | CL var for ALRFTRLIB (10) | Character value | Optional |
MSGQ | CL var for MSGQ (10) | Character value | Optional |
MSGQLIB | CL var for MSGQLIB (10) | Character value | Optional |
OUTQ | CL var for OUTQ (10) | Character value | Optional |
OUTQLIB | CL var for OUTQLIB (10) | Character value | Optional |
JOBACN | CL var for JOBACN (10) | Character value | Optional |
MAXHOP | CL var for MAXHOP (5 0) | Decimal number | Optional |
DDMACC | CL var for DDMACC (10) | Character value | Optional |
DDMACCLIB | CL var for DDMACCLIB (10) | Character value | Optional |
PCSACC | CL var for PCSACC (10) | Character value | Optional |
PCSACCLIB | CL var for PCSACCLIB (10) | Character value | Optional |
DFTNETTYPE | CL var for DFTNETTYPE (10) | Character value | Optional |
DFTCNNLST | CL var for DFTCNNLST (10) | Character value | Optional |
ALWANYNET | CL var for ALWANYNET (10) | Character value | Optional |
NWSDOMAIN | CL var for NWSDOMAIN (8) | Character value | Optional |
ALWVRTAPPN | CL var for ALWVRTAPPN (10) | Character value | Optional |
ALWHPRTWR | CL var for ALWHPRTWR (10) | Character value | Optional |
VRTAUTODEV | CL var for VRTAUTODEV (5 0) | Decimal number | Optional |
HPRPTHTMR | CL var for HPRPTHTMR (40) | Character value | Optional |
ALWADDCLU | CL var for ALWADDCLU (10) | Character value | Optional |
MDMCNTRYID | CL var for MDMCNTRYID (2) | Character value | Optional |
Top |
Specifies the name of the CL variable that receives the current system name. The variable must be a character variable with a minimum length of 8 characters.
Top |
Specifies the name of the CL variable that receives the pending system name. The variable must be a character variable with a minimum length of 8 characters. If there is no pending system name, the value returned is blanks.
Top |
Specifies the name of the CL variable that receives the local network ID. The variable must be a character variable with a minimum length of 8 characters.
Top |
Specifies the name of the CL variable that receives the local control point name. The variable must be a character variable with a minimum length of 8 characters.
Top |
Specifies the name of the CL variable that receives the default local location name. The variable must be a character variable with a minimum length of 8 characters.
Top |
Specifies the name of the CL variable that receives the default mode name. The variable must be a character variable with a minimum length of 8 characters.
Top |
Specifies the name of the CL variable that receives the APPN node type. The variable must be a character variable with a minimum length of 8 characters.
The following values can be returned in the CL variable:
Top |
Specifies the name of the CL variable that receives the current level of data compression. Specify the name of the decimal variable with a minimum length of 10 digits without decimal positions.
The values that can be returned in the variable as the data compression level are:
Top |
Specifies the name of the CL variable that receives the current level of intermediate node data compression. Specify the name of the decimal variable with a minimum length of 10 digits without decimal positions.
The values that can be returned in the variable as the intermediate node data compression levels are:
Top |
Specifies the name of the CL variable that receives the maximum number of intermediate sessions. Specify the name of a decimal variable with a minimum length of 5 digits and no decimal positions.
Top |
Specifies the name of the CL variable that receives the route addition resistance. Specify the name of a decimal variable with a minimum length of 5 digits and no decimal positions.
Top |
Specifies the name of the CL variable that receives the list of network node servers. Specify the name of a character variable with a minimum length of 85 characters. If the server name or network ID has fewer characters than the variable allows, the value is padded on the right with blanks. The list contains five node servers. Each server has the form: Network ID (9 characters) followed by the server name (8 characters). There are no separators. The network ID can contain the value *LCLNETID, which specifies that the current network ID is used. If there are less than five node servers specified, the remaining ones contain blanks for a name. As soon as the first blank name is encountered in the list, it is safe to assume that the remaining names are also blank.
Top |
Specifies the name of the CL variable that receives the alert status. Specify the name of a character variable with a minimum length of 10 characters. (If the alert status value has fewer characters than the variable allows, the value is padded on the right with blanks.)
The following values can be returned in the CL variable:
Top |
Specifies the name of the CL variable that receives the alert primary focal point. Specify the name of the CL variable with a minimum length of 10 characters. (If the alert primary focal point value has fewer characters than the variable allows, the value is padded on the right with blanks.)
The following values can be returned in the variable:
Top |
Specifies the name of the CL variable that receives the value for the alert default focal point. Specify a CL variable with a minimum length of 10 characters. (If the alert default focal point value has fewer characters than the variable allows, the value is padded on the right with blanks.)
The following values can be returned in the variable:
Top |
Specifies the name of the CL variable that receives the alert logging status. The variable must be a character variable with a minimum length of 7 characters.
The following values can be returned in the CL variable:
Top |
Specifies the name of the CL variable that receives the name of the system that provides alert focal point services if the primary focal point is unavailable. Specify the name of a character variable with a minimum length of 16 characters. (If the back up system name has fewer characters than the variable allows, the value is padded on the right with blanks.)
Top |
Specifies the name of the CL variable that receives the name of the system that is requested to provide alert focal point services. Specify the name of a character variable with a minimum length of 16 characters. (If the requesting system name has fewer characters than the variable allows, the value is padded on the right with blanks.)
Top |
Specifies the name of the CL variable that receives the name of the controller through which alert messages are sent to another system when alert processing is active. Specify a CL variable with a minimum length of 10 characters. (If the alert controller name has fewer characters than the variable allows, the value is padded on the right with blanks.)
The following values can be returned in the variable:
Top |
Specifies the name of the CL variable that receives the maximum number of alerts that are created before the alerts are sent over the alert controller session (ALRCTLD network attribute). The alerts are held (queued) by the system until the specified number of alerts have been created. This parameter can be used to manage alerts that are sent over a limited resource by reducing the number of times alerts are sent.
Note: The ALRHLDCNT network attribute only applies when the ALRCTLD network attribute is used. When management services sessions, APPN, and sphere of control support are used, the ALRHLDCNT value is ignored.
The maximum number of alerts that can be created before the alerts are sent is 32,767. Specify the name of a decimal variable with a total length of 5 digits without decimal positions.
The following values can be returned in the variable:
Top |
Specifies the name of the CL variable that receives the name of the active alert filter. Specify the name of a character variable with a minimum length of 10 characters. (If the alert filter name has fewer characters than the variable allows, the value is padded on the right with blanks.)
Top |
Specifies the name of the CL variable that receives the name of the library that contains the alert filter definition. Specify the name of a character variable with a minimum length of 10 characters. If the library name has fewer characters than the variable allows, the value is padded on the right with blanks.
Top |
Specifies the name of the CL variable that receives the system default network message queue name. Specify the name of a character variable with a minimum length of 10 characters. (If the message queue name has fewer characters than the variable allows, the value is padded on the right with blanks.)
Top |
Specifies the name of the CL variable that receives the name of the library that contains the system-default network message queue. Specify the name of a character variable with a minimum length of 10 characters. (If the library name has fewer characters than the variable allows, the value is padded on the right with blanks.)
Top |
Specifies the name of the CL variable that receives the system default network output queue name. Specify the name of a character variable with a minimum length of 10 characters. (If the output queue name has fewer characters than the variable allows, the value is padded on the right with blanks.)
Top |
Specifies the name of the CL variable that receives the name of the library that contains the system-default network output queue. Specify the name of a character variable with a minimum length of 10 characters. (If the library name has fewer characters than the variable allows, the value is padded on the right with blanks.)
Top |
Specifies the name of the CL variable that receives the current job action for job streams received through the network. Specify the variable with a minimum length of 10 characters. (If the job action value has fewer characters than the variable allows, the value is padded on the right with blanks.)
The following values can be returned in the CL variable:
Top |
Specifies the name of the CL variable that receives the maximum number of times in the SNADS network that a distribution queue originating at this node can be received and rerouted on the path to its final destination. Specify the name of a decimal variable with a total length of 5 digits, and no decimal positions.
Top |
Specifies the name of the CL variable that receives the current system action for DDM or DRDA requests from other systems. Specify the CL variable with a minimum length of 10 characters. (If the DDM access value has fewer characters than the variable allows, the value is padded on the right with blanks.)
The following values can be returned in the CL variable:
Top |
Specifies the name of the CL variable that receives the name of the library that contains the DDM access program. Specify the name of a character variable with a minimum length of 10 characters. (If the library name has fewer characters than the variable allows, the value is padded on the right with blanks.) If *REJECT or *OBJAUT is returned for the CL var for DDMACC (10) (DDMACC) parameter, the value for this parameter is all blanks.
Top |
Specifies the name of the CL variable that receives the current system action for iSeries Access requests. Specify a CL variable with a minimum length of 10 characters. (If the iSeries Access access value has fewer characters than the variable allows, the value is padded on the right with blanks.)
The following values can be returned in the CL variable:
Top |
Specifies the name of the CL variable that receives the name of the library that contains the iSeries Access access program. You must specify the name of a character variable with a minimum length of 10 characters. (If the library name has fewer characters than the variable allows, the value is padded on the right with blanks.) If *REJECT, *REGFAC, or *OBJAUT is returned for the CL var for PCSACC (10) (PCSACC) parameter, the value for this parameter will be all blanks.
Top |
Specifies the name of the CL variable that receives the system default value for the Integrated Services Digital Network (ISDN) network type. The operating system no longer uses this network attribute. Changes made to this network attribute have no effect. The variable must be a character variable with a minimum length of 10 characters.
Top |
Specifies the name of the CL variable that receives the system default value for the ISDN connection list. The operating system no longer uses this network attribute. Changes made to this network attribute have no effect. The variable must be a character variable with a minimum length of 10 characters.
Top |
Specifies the name of the CL variable that receives the network attribute that allows the Communications APIs to use other communication transports that are not native for that API. Examples include ICF over TCP/IP or Sockets over SNA. The variable must be a character variable with a minimum length of 10 characters.
Top |
Specifies the name of the CL variable that receives the LAN Server domain to which all integrated PC Servers, also knows as File Server Input/Output Processors(FSIOP), on the system belong. The variable must be a character variable with a minimum length of 8 characters.
Top |
Specifies the name of the CL variable that receives the current setting for the virtual APPN support. The character variable must have a minimum length of 10 characters.
Top |
Specifies the name of the CL variable that receives the current setting for the HPR tower transport support. The character variable must have a minimum length of 10 characters.
Top |
Specifies the name of the CL variable that receives the current setting for the maximum amount of automatically created APPC devices allowed on a virtual controller. Specify the name of a decimal variable with a total length of 5 digits, and no decimal positions.
Top |
Specifies the name of the CL variable that receives the current settings for the maximum amount of time in minutes for the HPR path switch timers. This field requires a 40 character variable, each 10 characters represents one of the four timer values in the order of network, high, medium and low priority.
Top |
Specifies the name of the CL variable that receives the value that specifies whether this system will allow another system to add it as a node in a cluster. The character variable must have a minimum length of 10 characters.
The values that can be returned in the variable for allow add to cluster are:
Top |
Specifies the name of the CL variable that receives the network attribute for the country or region identifier associated with a modem. The character variable must have a minimum length of 2 characters.
MDMCNTRYID defines the country-specific or region-specific default characteristics for modems which are internal to system I/O adapters. This value must be configured correctly to insure proper operation and, in some countries or regions, meet legal requirements. The adapter will fail the vary on of the line if modem country or region ID is not set.
Top |
Example 1: Retrieving Current System Name
DCL VAR(&SNAME) TYPE(*CHAR) LEN(8) RTVNETA SYSNAME(&SNAME)
This command retrieves the current system name.
Example 2: Retrieving Virtual APPN Support, APPC Device Limits, and HPR Path Switch Timers
DCL VAR(&ALWVRTAPPN) TYPE(*CHAR) LEN(10) DCL VAR(&VRTAUTODEV) TYPE(*DEC) LEN(5 0) DCL VAR(&HPRPTHTMR) TYPE(*CHAR) LEN(40) RTVNETA ALWVRTAPPN(&ALWVRTAPPN) VRTAUTODEV(&VRTAUTODEV) HPRPTHTMR(&HPRPTHTMR)
This command retrieves the current network attribute settings for allow virtual APPN support, automatically created APPC devices on a virtual controller, and the HPR path switch timers.
Top |
Top |