Retrieve Network Server Information (QFPADRNI) API


  Required Parameter Group:


  Default Public Authority: *USE

  Threadsafe: No

The Retrieve Network Server Information (QFPADRNI) API retrieves information from a Windows® or Intel® Linux® server. The amount of information returned depends on the size of the variable. The information returned is similar to the information returned by the Work with Network Server Status (WRKNWSSTS) command's option 5, Display details.


Authorities and Locks

Network Server Description Authority
*USE
Network Server Description Lock
*EXCLRD

Required Parameter Group

Receiver variable
OUTPUT; CHAR(*)

The variable to receive the network server information. You can specify the size of this area to be smaller than the format requested as long as you specify the length parameter correctly. As a result, the API returns only the data that the area can hold.

Length of receiver variable
INPUT; BINARY(4)

The length of the receiver variable. If the length is larger than the size of the receiver variable, the results may not be predictable. The minimum length is 8 bytes.

Format name
INPUT; CHAR(8)

The format of the network server information to be returned. The valid format names are:


NWSD server name
INPUT; CHAR(8)

The name of the NWSD for which to retrieve information. The name must be specified in upper case characters and padded with blanks to a full 8 characters.

Error code
I/O; CHAR(*)

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


DRNI0100 Format

The DRNI0100 format returns network server version information.



DRNI0200 Format

The DRNI0200 format returns network server status information.



Field Descriptions

Bytes available. The length of all data available for the requested format. All available data is returned if enough space is provided.

Bytes returned. The length of all data actually returned. If the data is truncated because the receiver variable is not large enough to hold the data, this value is less than the bytes available.

Connected users. Number of user connections currently present on this server.

Integrated Server Support hot fix. The identifier for an Integrated Server Support hot fix that is installed on the server.

Integrated Server Support service pack. The identifier for an Integrated Server Support service pack that is installed on the server.

Integrated Server Support version. The version number of the Integrated Server Support product that is installed on the server. The value has the format VxRyMz, where x is the version, y is the release, and z is the modification.

Length of a multiple processor usage entry. The length of one multiple processor usage entry.

Length of an Integrated Server Support hot fix entry. The length of one Integrated Server Support hot fix entry.

Length of an Integrated Server Support service pack entry. The length of one Integrated Server Support service pack entry.

Multiple processor usage. The percent usage for servers that support multiple processors. This number is the processor usage value for an individual processor, represented as an integer value between 0 and 100. A usage value is returned for each processor, so the number of values returned depends on the number of processors on the server.

Number of Integrated Server Support hot fix entries. The number of times the Integrated Server Support hot fix entries are repeated.

Number of Integrated Server Support service pack entries. The number of times the Integrated Server Support service pack entries are repeated.

Number of multiple processor usage entries. The number of times the multiple processor usage entries are repeated.

Offset to list of Integrated Server Support hot fix entries. The offset to the first entry in the Integrated Server Support hot fix list.

Offset to list of Integrated Server Support service pack entries. The offset to the first entry in the Integrated Server Support service pack list.

Offset to list of multiple processor usage entries. The offset to the first entry in the multiple processor usage list.

Paging file used. The percentage of the server paging file used. This percentage is expressed as an integer value between 0 and 100.

Processor used. The percentage of the server's processor used. This percentage is expressed as an integer value between 0 and 100.

If the server supports a single processor, this number is the usage for the individual processor. If the server supports multiple processors, this number is the average processor usage for all of the processors.

Registry quota used. The percentage of the server's registry used. This percentage is expressed as an integer value between 0 and 100.

Reserved. Reserved space.

Server operating system build ID. The current build identifier of the server operating system.

Server operating system service level. The service level of the operating system that is installed on the server.

Server operating system version. The current version of the operating system on the server.


Error Messages



API introduced: V4R5

[ Back to top | Server Support APIs | APIs by category ]