Required Parameter Group: | |||
1 | request variable | Input | Char(*) |
2 | length of request variable | Input | Binary(4) |
3 | request variable format | Input | Char(8) |
4 | server name | Input | Char(32) |
5 | description name | Input | Char(32) |
6 | error code | I/O | Char(*) |
Library Name/Service Program: QTCM/QZHTINCONF | |||
Threadsafe: Yes |
The QzhtChgTCMRuleSet API changes rule sets associated with triggered cache manager servers. Changes made to rule sets are utilized by all trigger handler descriptions that are referencing them the next time that the servers are started.
The API is a callable service implemented as an ILE entry point within QZHTINCONF *SRVPGM in QTCM *LIB.
The QTCM/H(QZHTINCONF) header file includes ILE C prototypes for this API.
The variable used to pass information used to change a 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 name used to identify the which rule set is changed (left justified and padded with blanks if necessary).
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. |
-2 | QZHT_NO_CHANGE: The current value is not changed. |
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. |
-2 | QZHT_NO_CHANGE: The current list of publishing rules, if any, is not changed for Publishing rules. |
If Offset to publishing rules equals 0 (QZHT_NONE) or -1 (QZHT_DEFAULT), an empty rule set is described. If Offset to publishing rules equals -2 (QZHT_NO_CHANGE), the current list of publishing rules are not changed.
Special values and their meanings are as follows: