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 |
Use the QzhtAddTCMCacheTargetDesc API to add new cache target descriptions to the configurations of triggered cache manager servers. New cache target descriptions are referenced subsequently, by name, from trigger handler descriptions associated with the same server. New cache target descriptions are utilized by all trigger handler descriptions, referencing then the next time the servers 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 cache target description. See Cache target description formats for more information.
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) | Cache target description name |
64 | 40 | Char(10) | Cache target type |
74 | 4A | Char(2) | Reserved |
76 | 4C | Binary(4) | Default property |
80 | 50 | Binary(4) | Number of threads |
84 | 54 | Binary(4) | Initial state |
Special values and their meanings are as follows:
Special values and their meanings are as follows:
1 | QZHT_YES, QZHT_TRUE, QZHT_ENABLED: The description becomes the default cache target description for this server. |
0 | QZHT_NO, QZHT_FALSE, QZHT_DISABLED: The description is not the default cache target description. |
-1 | QZHT_DEFAULT: The default value is used. |
1 | QZHT_YES, QZHT_TRUE, QZHT_ENABLED: The request processor is enabled at server startup. |
0 | QZHT_NO, QZHT_FALSE, QZHT_DISABLED: The request processor is disabled at server startup. |
-1 | QZHT_DEFAULT: The default value is used. |
Special values and their meanings are as follows:
-1 | QZHT_DEFAULT: The default value is used. |
Offset | Type | Field | |
---|---|---|---|
Dec | Hex | ||
0 | 0 | Everything from CTDP0100 format | |
88 | 58 | Binary(4) | Offset to local directory root |
92 | 5C | Binary(4) | Length of local directory root |
Char(*) | Local directory root |
Special values and their meanings are as follows:
0 | QZHT_NONE: Same as -1 (QZHT_DEFAULT). |
-1 | QZHT_DEFAULT: The default path is used for Local directory root. |
Offset | Type | Field | |
Dec | Hex | ||
0 | 0 | Char(256) | Everything from CTDP0100 format |
88 | 58 | Binary(4) | HTTP IP interface |
344 | 158 | Binary(4) | HTTP TCP port |
348 | 15C | Binary(4) | Offset to HTTP URI root |
352 | 160 | Binary(4) | Length of HTTP URI root |
356 | 164 | Binary(4) | HTTP keepalive |
360 | 168 | Binary(4) | Timeout |
Char(*) | HTTP URI root |
Special values and their meanings are as follows:
Special values and their meanings are as follows:
1 | QZHT_YES, QZHT_TRUE, QZHT_ENABLED: The connection is kept open after data transfer. |
0 | QZHT_NO, QZHT_FALSE, QZHT_DISABLED: The connection is closed after data transfer. |
-1 | QZHT_DEFAULT: The default value is used. |
Special values and their meanings are as follows:
-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 HTTP URI root. |
Special values and their meanings are as follows:
0 | QZHT_NO, QZHT_FALSE, QZHT_DISABLED: The time out operation is disabled. The triggered cache manager server should never cancel a read operation. |
-1 | QZHT_DEFAULT: The default value is used. |
Offset | Type | Field | |
---|---|---|---|
Dec | Hex | ||
0 | 0 | Everything from CTDP0100 format | |
88 | 58 | Char(32) | HTTP host |
120 | 78 | Binary(4) | HTTP TCP port |
124 | 7C | Binary(4) | Offset to HTTP URI root |
128 | 80 | Binary(4) | Length of HTTP URI |
132 | 84 | Binary(4) | HTTP keepalive |
136 | 88 | Binary(4) | Timeout |
Char(*) | HTTP URI root |
Special values and their meanings are as follows:
Special values and their meanings are as follows:
1 | QZHT_YES, QZHT_TRUE, QZHT_ENABLED: The connection is kept open after data transfer. |
0 | QZHT_NO, QZHT_FALSE, QZHT_DISABLED: The connection is closed after data transfer. |
-1 | QZHT_DEFAULT: The default value is used. |
Special values and their meanings are as follows:
-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 path is used for HTTP URI root. |
Special values and their meanings are as follows:
0 | QZHT_NO, QZHT_FALSE, QZHT_DISABLED: The time out operation is disabled. The triggered cache manager server should never cancel a read operation. |
-1 | QZHT_DEFAULT: The default value is used. |
Offset | Type | Field | |
---|---|---|---|
Dec | Hex | ||
0 | 0 | Char(32) | Server name |
32 | 20 | Char(32) | Cache target description name |
64 | 40 | Char(10) | Cache target type |
74 | 4A | Char(2) | Reserved |
76 | 4C | Binary(4) | Default property |
80 | 50 | Binary(4) | Number of threads |
84 | 54 | Binary(4) | Initial state |
88 | 58 | Char(256) | ECCP IP interface |
344 | 158 | Binary(4) | ECCP TCP port |
348 | 15C | Char(32) | HTTP cluster IP interface |
604 | 260 | Binary(4) | HTTP cluster TCP port |
608 | 264 | Binary(4) | Offset to HTTP cluster URI root |
612 | 268 | Binary(4) | Length of HTTP cluster URI root |
6161 | 26C | Binary(4) | ECCP keepalive |
Char(*) | HTTP cluster URI root |
Special values and their meanings are as follows:
1 | QZHT_YES, QZHT_TRUE, QZHT_ENABLED: The description is a default cache target description for this server. |
0 | QZHT_NO, QZHT_FALSE, QZHT_DISABLED: The description is not a default cache target description. |
-1 | QZHT_DEFAULT: The default value is specified. |
1 | QZHT_YES, QZHT_TRUE, QZHT_ENABLED: The connection is kept open after data transfer. |
0 | QZHT_NO, QZHT_FALSE, QZHT_DISABLED: The connection is closed after data transfer. |
-1 | QZHT_DEFAULT: The default value is used. |
1 | QZHT_YES, QZHT_TRUE, QZHT_ENABLED: The request processor is enabled at server startup. |
0 | QZHT_NO, QZHT_FALSE, QZHT_DISABLED: The request processor is disabled at server startup. |
-1 | QZHT_DEFAULT: The default value is used. |
Special values and their meanings are as follows:
-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 path is used for HTTP cluster URI root. |
Offset | Type | Field | |
---|---|---|---|
Dec | Hex | ||
0 | 0 | Char(32) | Server name |
32 | 20 | Char(32) | Cache target description name |
64 | 40 | Char(10) | Cache target type |
74 | 4A | Char(2) | Reserved |
76 | 4C | Binary(4) | Default property |
80 | 50 | Binary(4) | Number of threads |
84 | 54 | Binary(4) | Initial state |
88 | 58 | Char(32) | ECCP host |
120 | 78 | Binary(4) | ECCP TCP port |
124 | 7C | Char(256) | HTTP cluster IP interface |
380 | 17C | Binary(4) | HTTP cluster TCP port |
384 | 180 | Binary(4) | Offset to HTTP cluster URI root |
388 | 184 | Binary(4) | Length of HTTP cluster URI root |
392 | 188 | Binary(4) | ECCP keepalive |
Char(*) | HTTP cluster URI root |
Special values and their meanings are as follows:
1 | QZHT_YES, QZHT_TRUE, QZHT_ENABLED: The description is a default cache target description for this server. |
0 | QZHT_NO, QZHT_FALSE, QZHT_DISABLED: The description is not a default cache target description. |
-1 | QZHT_DEFAULT: The default value is specified. |
Special values and their meanings are as follows:
1 | QZHT_YES, QZHT_TRUE, QZHT_ENABLED: The connection is kept open after data transfer. |
0 | QZHT_NO, QZHT_FALSE, QZHT_DISABLED: The connection is closed after data transfer. |
-1 | QZHT_DEFAULT: The default value is used. |
1 | QZHT_YES, QZHT_TRUE, QZHT_ENABLED: The request processor is enabled at server startup. |
0 | QZHT_NO, QZHT_FALSE, QZHT_DISABLED: The request processor is disabled at server startup. |
-1 | QZHT_DEFAULT: The default value is used. |
Special values and their meanings are as follows:
-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. |