Start of changeRetrieve HA Configuration Description (QhaRetrieveConfigurationDesc) API


  Required Parameter Group:


  Service Program: QHASM/QHAAPI

  Default Public Authority: *USE

  Threadsafe: Yes

The Retrieve High Availability (HA) Configuration Description (QhaRetrieveConfigurationDesc) API is used to retrieve information about HA configuration descriptions.


Authorities and Locks

None

Required Parameter Group

Receiver variable here)
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 that the area can hold.

Length of receiver variable
INPUT; BINARY(4)

The length of the receiver variable provided. The length of receiver variable parameter may be specified up to the size of the receiver variable specified in the user program. If the length of 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 8 bytes.

Receiver variable format name
INPUT; CHAR(8)

The content and format of the HA configuration description information that is returned. The possible format names are:

Cluster name
INPUT; CHAR(10)

The name of the cluster.

Selection format name
INPUT; CHAR(10)

The format name of the selection. The possible format names are:

Selection information
INPUT; CHAR(*)

The information in this parameter is used to determine what to include in the HA configuration description information to be returned.

Error code
I/O; CHAR(*)

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


RHAD0100 format



RHAD0100 Field Descriptions

The field descriptions are always in alphabetical order.

Bytes available. The number of bytes of data available to be returned.

Bytes provided. The number of bytes that the calling application has provided for the HA configuration description data.

Length of fixed fields. The length of the fixed portion of the format.

Number of entries returned. The number of HA configuration descriptions that were returned.

Offset to configuration description array. The offset from the beginning of the receiver variable to the HA configuration description array.

RHAD0100 format - Configuration description entry

The following is the information for configuration description entry:



The following information is for the configuration type *HYSSTG and subtype *DS:



Field Descriptions

The field descriptions are always in alphabetical order.

Configuration name. The name of the HA configuration description.

Configuration description subtype. The subtype of the HA configuration description. The possible values for *HYSSTG configuration type are:

Configuration description type. The type of the HA configuration description. The possible values for HA configuration type are:

IBM system storage device. The name of the IBM system storage device.

Length of configuration description entry. The total length of the configuration description entry, which include the length of fixed fields and length of specific configuration description.

Length of fixed fields. The length of the fixed portion of the configuration description entry.

Length of specific configuration description. The length of the specific HA configuration description.

Offset to configuration description information. The offset from the beginning of the receiver variable to the HA configuration description information.

Reserved. This field is not used and is set to binary zeroes.

System serial number. The serial number of the system.

IHAD0100 format

The following is the selection information for format IHAD0100:



Selection information:



IHAD0100 Field Descriptions

The field descriptions are always in alphabetical order.

Length of fixed fields. The length of the fixed portion of the selection information.

Number of selections. The number of selections provided. Selections with the same type will be treated as if a logical 'or' existed between them. Selections with different types will be treated as if a logical 'and' existed between them. For example, if you have two selections, the first of which specifies a name of 'EXAMPLE' and the second which specifies a type of '*HYSSTG' then all HA configuration descriptions with the name 'EXAMPLE' and the type '*HYSSTG' will be returned. If you add another selection which specifies a name of 'EXAMPLE2' then all entries with type '*HYSSTG' and a name of either 'EXAMPLE' or 'EXAMPLE2' will be returned.

Reserved. This field is not used and is set to binary zeroes.

Selection type. The type of the selection. The possible values for the selection type are:

Selection name. The name of the selection.


Error Messages

The following messages may be sent from this function:



End of change
API introduced: IBM® i 7.2 PTF

[ Back to top | Cluster APIs | APIs by category ]