Required Parameter Group: | |||
1 | request variable | Input | Char(*) |
2 | length of request variable | Input | Binary(4) |
3 | request variable name | 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 |
Use the QzhtChgTCMTriggerHandlerDesc API to change trigger handler descriptions associated with triggered cache manager servers. Changes made to trigger handler descriptions are utilized by triggered cache manager servers after they are restarted. The API is a callable service implemented as an ILE entry point within the QZHTINCONF *SRVPGM in the QTCM *LIB.
The QTCM/H(QZHTINCONF) header file includes ILE C prototypes for this API.
The variable used to pass the information used to add a new trigger handler description.
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 server for which the description is changed (left justified and padded with blanks if necessary).
The name used to identify which trigger handler description 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) | Trigger handler description name |
64 | 40 | Char(10) | Trigger handler type |
74 | 4A | Char(2) | Reserved |
76 | 4C | Char(32) | Data source |
108 | 6C | Binary(4) | Offset to cache targets |
112 | 70 | Binary(4) | Length of cache targets |
116 | 74 | Binary(4) | Offset to ack targets |
120 | 78 | Binary(4) | Length of ack targets |
124 | 7C | Binary(4) | Offset to nack targets |
128 | 80 | Binary(4) | Length of nack targets |
132 | 84 | Binary(4) | Number of threads |
Char(*) | Cache targets | ||
Char(*) | Ack targets | ||
Char(*) | Nack targets |
Special values and their meanings are as follows:
Special values and their meanings are as follows:
-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: A null list is specified for Ack targets indicating successful process completion messages are not sent. |
-1 | QZHT_DEFAULT: The default descriptions, if any, are referenced for Ack targets. |
-2 | QZHT_NO_CHANGE: The current references for Ack targets are not changed. |
Special values and their meanings are as follows:
0 | QZHT_NONE: A null list is specified for Cache targets indicating data is not sent to cache targets. |
-1 | QZHT_DEFAULT: The default descriptions, if any, are referenced for Nack targets. |
-2 | QZHT_NO_CHANGE: The current references for Nack targets are not changed. |
Special values and their meanings are as follows:
0 | QZHT_NONE: A null list is specified for Nack targets indicating failed process completion messages are not sent. |
-1 | QZHT_DEFAULT: The default descriptions, if any, are referenced for Nack targets. |
-2 | QZHT_NO_CHANGE: The current references for Nack targets are not changed. |
Special values and their meanings are as follows:
Special values and their meanings are as follows:
Special values and their meanings are as follows:
Offset | Type | Field | |
---|---|---|---|
Dec | Hex | ||
0 | 0 | Everything from THDP0100 format | |
136 | 88 | Binary(4) | Cache request queue priority |
140 | 8C | Binary(4) | Trigger queue collapse policy |
Special values and their meanings are as follows:
-1 | QZHT_DEFAULT: The default value is used. |
-2 | QZHT_NO_CHANGE: If the current description type is *UPDATE, the current value is not changed. If the current description type is not *UPDATE, the default value is used. |
Special values and their meanings are as follows:
1 | QZHT_YES, QZHT_TRUE, QZHT_ENABLED: Identical triggers are collapsed. |
0 | QZHT_DEFAULT: The default value is used. |
-1 | QZHT_DEFAULT: The default value is used. |
-2 | QZHT_NO_CHANGE: If the current description type is *UPDATE, the current value is not changed. If the current description type is not *UPDATE, the default value is used. |
Offset | Type | Field | |
---|---|---|---|
Dec | Hex | ||
0 | 0 | Everything from THDP0100 format | |
136 | 88 | Char(32) | Object dependency graph |
168 | A8 | Char(32) | Rule set |
200 | C8 | Binary(4) | Offset to traversal edge name |
204 | CC | Binary(4) | Length of traversal edge name |
208 | D0 | Binary(4) | Offset to default included file |
212 | D4 | Binary(4) | Length of default included file |
216 | D8 | Binary(4) | Include dependency information |
220 | DC | Binary(4) | Include triggered file information |
224 | E0 | Binary(4) | Include cached file information |
Char(*) | Traversal edge type | ||
Char(*) | Default include file |
Special values and their meanings are as follows:
1 | QZHT_YES, QZHT_TRUE, QZHT_ENABLED: A list of names is included. |
0 | QZHT_NO, QZHT_FALSE, QZHT_DISABLED: A list of names is not included. |
-1 | QZHT_DEFAULT: The default value is used. |
-2 | QZHT_NO_CHANGE: If the current description type is *PUBLISH, the current value is not changed. If the current description type is not *PUBLISH, the default value is used. |
Special values and their meanings are as follows:
1 | QZHT_YES, QZHT_TRUE, QZHT_ENABLED: Information is included. |
0 | QZHT_NO, QZHT_FALSE, QZHT_DISABLED: Information is not included. |
-1 | QZHT_DEFAULT: The default value is used. |
-2 | QZHT_NO_CHANGE: If the current description type is *PUBLISH, the current value is not changed. If the current description type is not *PUBLISH, the default value is used. |
Special values and their meanings are as follows:
1 | QZHT_YES, QZHT_TRUE, QZHT_ENABLED: A list of names is included. |
0 | QZHT_NO, QZHT_FALSE, QZHT_DISABLED: A list of names is not included. |
-1 | QZHT_DEFAULT: The default value is used. |
-2 | QZHT_NO_CHANGE: If the current description type is *PUBLISH, the current value is not changed. If the current description type is not *PUBLISH, the default value is used. |
Special values and their meanings are as follows:
Special values and their meanings are as follows:
0 | QZHT_NONE: Same as -1 (QZHT_DEFAULT). |
-1 | QZHT_DEFAULT: The default value for Default included file is used. |
-2 | QZHT_NO_CHANGE: If the current description type is *PUBLISH, the current file name, if any, is not changed for Default included file. If the current description type is not *PUBLISH, the default value is used for Default included file. |
Special values and their meanings are as follows:
0 | QZHT_NONE: Same as -1 (QZHT_DEFAULT). |
-1 | QZHT_DEFAULT: The default value for Traversal edge type is used. |
-2 | QZHT_NO_CHANGE: If the current description type is *PUBLISH, the current name is not changed for Traversal type edge. If the current description type is not *PUBLISH, the default name is used for Traversal edge type. |
Special values and their meanings are as follows: