Retrieve Device Domain Data (QYASRTVDDD) API


  Required Parameter Group:


  Default Public Authority: *EXCLUDE

  Threadsafe: Yes

The Retrieve Device Domain Data (QYASRTVDDD) API retrieves data that was previously set by the Change Device Domain Data (QYASCHGDDD) API. The data could have been set by the same node or a different node that is in the same device domain of the same cluster. The structure and content of the data is completely up to the discretion of the user of the QYASCHGDDD API. The QYASCHGDDD API only ensures that the data is the same on all nodes within the device domain.

An option is provided on the QYASRTVDDD API that allows its user to prevent concurrent update by two or more nodes.


Authorities and Locks

No authority is required beyond *USE authority to the API program, QYASRTVDDD.


Required Parameter Group

Data variable
OUTPUT; CHAR(*)

The storage area that is to receive the data that previously was set.

Length of data variable
INPUT; BINARY(4)

The length of the data variable.

Format name
INPUT; CHAR(8)

The format of the data that is retrieved. The possible values are:


Data handle
INPUT; CHAR(32)

An identifier assigned by the user of the API. The identifier is treated as hexadecimal data. The data handle must be the same as that used with the Change Device Domain Data (QYASCHGDDD) API.

Option
INPUT; BINARY(4)

An integer value specifying the retrieve options. Valid values are:

Error code
I/O; CHAR(*)

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


Format Descriptions

YASR0100 Format

The following shows the order and format of the data that is returned in the receiver variable. For detailed descriptions of the fields in the table, see Field Descriptions.



Field Descriptions

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

Bytes returned. The number of bytes of data that were returned.

Data. The data from the previous use of the Change Device Domain Data (QYASCHGDDD) API.


Error Messages




API introduced: V6R1

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