1 | Data variable | Input | Char(*) |
2 | Length of data variable | Input | Binary(4) |
3 | Format name | Input | Char(8) |
4 | Data handle | Input | Char(32) |
5 | Error code | I/O | Char(*) |
The Change Device Domain Data (QYASCHGDDD) API does the initial setting or changes the contents of data set by a previous use of this API for the same data handle. 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.
The data can be retrieved by use of the Retrieve Device Domain Data
(QYASRTVDDD) API.
No authority is required beyond *USE authority to the API program, QYASCHGDDD.
The storage area that contains the data.
The length of the data variable.
The format of the data. The possible values are:
YASC0100 | This is a generic format. The actual data content is up to the discretion of the user of the API. The content and its structure must be consistent with use of the Retrieve Device Domain Data (QYASRTVDDD) API. |
An identifier assigned by the creator of the data. The identifier is treated as hexadecimal data. Products should include their product identifier in the data handle to help avoid conflicts with other products.
The structure in which to return error information. For the format of the structure, see Error code parameter.
The following shows the information sent for the YASC0100 format. For detailed descriptions of the fields in the table, see Field Descriptions.
Offset | Type | Field | |
---|---|---|---|
Dec | Hex | ||
0 | 0 | CHAR(*) | Data |
Data. The new data. The data is treated as hexadecimal data.
Message ID | Error Message Text |
---|---|
CPF9821 E | Not authorized to program &1 in library &2. |
CPF3C21 E | Format name &1 not valid. |
CPFBA4B E | Data length not valid. |
CPF3CF1 E | Error code parameter not valid. |
CPFB71B E | Not all nodes processed device domain data. |