Required Parameter Group: | |||
1 | request variable | Input | Char(*) |
2 | length of request variable | Input | Binary(4) |
3 | request variable format | Input | Char(8) |
4 | error code | I/O | Char(*) |
Library Name/Service Program: QTCM/QZHTINCONF | |||
Threadsafe: Yes |
The QzhtAddTCMRuleSet API adds new rule sets to the configurations of triggered cache manager servers. New rule sets are referenced subsequently, by name, from trigger handler descriptions associated with the same server. New rule sets are utilized by all descriptions referencing them the next time the servers are started.
The QTCM/H(QZHTINCONF) header file includes ILE C prototypes for this API.
The variable used to pass information to add a new rule set.
The number of bytes that the calling program provides for request variable.
The format name of the request variable data. The following values must be used:
The structure in which to return error information.
Offset | Type | Field | |
---|---|---|---|
Dec | Hex | ||
0 | 0 | Char(32) | Server name |
32 | 20 | Char(32) | Rule set name |
64 | 40 | Binary(4) | Default property |
68 | 44 | Binary(4) | Offset to publishing rules |
72 | 48 | Binary(4) | Length of publishing rules |
Char(*) | Publishing rules |
Special values and their meanings are as follows:
1 | QZHT_YES, QZHT_TRUE, QZHT_ENABLED: The description is to become the default rule set for this server. |
0 | QZHT_NO, QZHT_FALSE, QZHT_DISABLED: The description is not to become the default rule set. |
-1 | QZHT_DEFAULT: The default value is used. |
Special values and their meanings are as follows:
0 | QZHT_NONE: Same as -1 (QZHT_DEFAULT). |
-1 | QZHT_DEFAULT: The default value is used for Publishing rules. |