Open List Network Servers (QFPADOLS) API


  Required Parameter Group:


  Default Public Authority: *USE

  Threadsafe: No

The Open List Network Servers (QFPADOLS) API retrieves a list of servers. The functions provided by this API are similar to the Work with Network Server Status (WRKNWSSTS) command.


Authorities and Locks

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

Required Parameter Group

Receiver variable
OUTPUT; CHAR(*)

The receiver variable that receives the information requested. You can specify the size of the 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 the area can hold.

Length of receiver variable
INPUT; BINARY(4)

The length of the receiver variable provided. The length of the receiver variable parameter may be specified up to the size of the receiver variable specified in the user program. If the length of the receiver variable parameter specified is larger than the allocated size of the receiver variable specified in the user program, the results are not predictable. The minimum length is 0 bytes.

List information
OUTPUT; CHAR(80)

Information about the list created by this program. For a description of the layout of this parameter, see Format of List Information.

Number of records to return
INPUT; BINARY(4)

The number of records in the list to put into the receiver variable. The value must be 0 or greater.

Format name
INPUT; CHAR(8)

The format of the information returned. You must use one of the the following format names:


Server name qualifier
INPUT; CHAR(*)

A restriction on the information to be retrieved. This parameter allows the caller to request a subset of the entries that normally would be returned on a given format. If this parameter is *ALL, no information qualification is performed. Allowable values are:


Length of server name qualifier
INPUT; BINARY(4)

The length of the server name qualifier.

Error code
I/O; CHAR(*)

The structure in which to return error information. For the format of the structure, see Error code parameter. If this parameter is omitted, diagnostic and escape messages are issued to the application.


DOLS0100 Format

Format DOLS0100 returns Windows server information.



DOLS0200 Format

Format DOLS0200 returns Windows, VMware ESX, Linux, AIX® and IBM® i Network Server Information.



Field Descriptions

Displacement to DNS domain name. The displacement in bytes from the beginning of the record to the domain name of the Domain Name System (DNS).

Displacement to domain name. The displacement in bytes from the beginning of the record to the domain name.

Displacement to list of Integrated Server Support hot fix entries. The displacement to the first entry in the Integrated Server Support hot fix list.

Displacement to next server entry. The displacement in bytes from the beginning of the record to the next server entry. If this is the last entry, this value will be zero.

Displacement to server description. The displacement in bytes from the beginning of the record to the server description.

Displacement to server name. The displacement in bytes from the beginning of the record to the server name.

Displacement to server operating system description. The displacement in bytes from the beginning of the record to the server operating system description.

DNS domain name. The domain name system (DNS) domain name of this server.

Domain enrollment enabled. Indicates if user profiles may be enrolled to the Domain name.

Domain name. The domain name of this server.

Dynamic unlinking enabled. Indicates if NWS Storage Space dynamic unlinking operations are supported for this server.

Hardware name. The hardware resource name of the input/output adapter (IOA), or the remote system NWSCFG name for iSCSI connected servers.

Hardware resource model. The hardware resource model of the input/output adapter (IOA) for the server.

Hardware resource name. The hardware resource name of the input/output adapter (IOA) for the server.

Hardware resource type. The hardware resource type of the input/output adapter (IOA) for the server.

Hardware serial number. The serial number of the remote server hardware. When not available the value will be *N.

Hardware type and model. The remote server hardware type and model, or the hardware resource type input/output adapter (IOA) for the server. Hardware type and model at install. The remote server hardware type and model, or the hardware resource type input/output adapter (IOA) used when the server was originally installed. When not available the value will be *N.

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. When not available the value will be *N.

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. When not available the value will be *N.

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

Length of DNS domain name. The length of this DNS domain name.

Length of domain name. The length of this domain name.

Length of server description. The length of this server description.

Length of server entry. The length of this server entry.

Length of server name. The length of this server name.

Length of server operating system description. The length of this server operating system description.

Network server description (NWSD) name. The name of the network server description.

Number of Integrated Server Support hot fix entries. The number of times the Integrated Server Support hot fix entries are repeated. Hot fix entries are never used, so this field value will always be zero.

NWSD connection type. The NWSD Server connection value. The possible values are:

NWSD operating system. The NWSD Server operating system value. The possible values are:

NWSD server status. The NWSD Server Status value. The possible values are:

Operating system integration service level. The identifier for the operating system integration service level that is installed on the server. When not available the value will be *N.

Operating system integration version. The version number of the operating system integration 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. When not available the value will be *N.

Reserved. Reserved space.

SBMNWSCMD enabled. Indicates if the SBMNWSCMD CL command is supported to this server.

Server description. The server description.

Server enrollment enabled. Indicates whether user profiles may be enrolled to this server name.

Server name. The name of this server. The operating systems server name is retrieved for *IXSVR and *ISCSI connection types. The NWSD name is returned for *GUEST connection types.

Server operating system build ID. The current build identifier of the server operating system. When not available the value will be *N.

Server operating system description. A description of the operating system on the server. The values is retrieved from the remote server. When not available, the value will be *N.

Server operating system service level. The current service level of the operating system on the server. When not available the value will be *N.

Server operating system type. The remote server operating system type. The possible values are:

Server operating system version. The current version of the operating system on the server. When not available the value will be *N.

Server statistics enabled. Indicates if server statistics are supported for this server.

Server status. The status of the server. The possible values follow:

Synchronize integration software enabled. Indicates if operating system operations are supported to directly update integration software on this server.

System pool identifier. System-related pool identifier specified to be used for both guest servers and iSCSI virtual I/O operations.

Windows build number. The current build number of the Windows operating system on the server.

Windows service pack level. The current service pack level of the Windows operating system on the server.

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



Format of List Information

The following table shows the format of the list information parameter. For detailed descriptions of the field in the table, see Field Descriptions.



Field Descriptions

Date and time created. The date and time the list was created. The 13 characters are:

First record in buffer. The number of the first record in the receiver variable.

Information complete indicator. Whether all information requested has been supplied.


Length of information returned. The size, in bytes, of the information returned in the receiver variable.

List status indicator. The status of the list building. The indicators are:


Record length. The length of each record of information returned. For variable length records, this value is set to 0. For variable length records, you can obtain the length of individual records from the records themselves.

Records returned. The number of records returned in the receiver variable. This is the smallest of the following values:

Request handle. The handle of the request that can be used for subsequent requests of information from the list. The handle is valid until the Close List (QGYCLST) API is called to close the list or until the job ends.

Note: This field should be treated as a hexadecimal field. It should not be converted from one CCSID to another (for example, EBCDIC to ASCII) because doing so could result in an unusable value.

Reserved. Reserved field. Must be set to hexadecimal or binary zero.

Total records. The total number of records available in the list.


Error Messages


API introduced: V4R5

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