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 |
Use the QzhtChgTCMDataSourceDesc API to change data source descriptions associated with triggered cache manager servers. Changes made to data source descriptions are utilized by all trigger handler descriptions that reference them the next time the servers are started. 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 change a data source description. See Data source 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:
See Data source description formats for more information.
The structure in which to return error information.
Offset | Type | Field | |
---|---|---|---|
Dec | Hex | ||
0 | 0 | Char(32) | Server name |
32 | 20 | Char(32) | Data source description name |
64 | 40 | Char(10) | Data source type |
74 | 4A | Char(2) | Reserved |
76 | 4C | Binary(4) | Default property |
80 | 50 | Binary(4) | Number of threads |
Special values and their meanings are as follows:
Special values and their meanings are as follows:
Special values and their meanings are as follows:
1 | If a specified type is different than the current type, certain information is discarded if it cannot be mapped to values for reuse by the new description type. See other data source description formats for details. |
-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:
-1 | QQZHT_DEFAULT: The default value is used. |
-2 | QZHT_NO_CHANGE: The current value is not changed. |
Special values and their meanings are as follows:
Offset | Type | Field | |
---|---|---|---|
Dec | Hex | ||
0 | 0 | Everything from DSDP0100 format | |
84 | 54 | Binary(4) | Offset to local directory root |
88 | 58 | Binary(4) | Length of local directory root |
Char(*) | Local root directory |
If the current type is: | Details | |
---|---|---|
*IFS | use current Local directory root path | No change is made |
*HTTP1 or *HTTP2 | use current HTTP URI root path | Refers to DSDP0300 or DSDP0310 format |
any other | use default path |
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. |
-2 | QZHT_NO_CHANGE: If the current description type is *IFS, the current path for Local directory root is not changed. If the current description type is not *IFS, see details for Local directory root on how current description values are mapped for reuse by the new description type. |
Offset | Type | Field | |
---|---|---|---|
Dec | Hex | ||
0 | 0 | Char(256) | Everything from DSDP0100 format |
88 | 58 | Binary(4) | HTTP IP interface |
340 | 154 | Binary(4) | HTTP TCP port |
344 | 158 | Binary(4) | Offset to HTTP URI root |
348 | 15C | Binary(4) | Length of HTTP URI root |
352 | 160 | Binary(4) | HTTP keepalive |
356 | 164 | Binary(4) | Timeout |
Char(*) | HTTP URI root |
Special values and their meanings are as follows:
If the current type is: | Details | |
---|---|---|
*HTTP1 | use current HTTP IP interface value | No change is made. |
*HTTP2 | use IP interface value from the host description currently referenced by HTTP host An exception occurs if the referenced description does not exist. Refers to the | An exception occurs if the referenced description does not exist. Refers to the DSDP0310 format. |
any other | use default value |
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. |
-2 | QZHT_NO_CHANGE: If the current description type is *HTTP1 or *HTTP2, the current value is not changed. If the current description type is not *HTTP1 or *HTTP2, the default value is used. |
Special values and their meanings are as follows:
-1 | QZHT_DEFAULT: The default value is used. |
-2 | QZHT_NO_CHANGE: The following rules are used to map current description values for reuse. |
If the current type is: | Details | |
---|---|---|
*HTTP1 or *HTTP2 | use current HTTP TCP port value | No change is made |
any other | use default value |
If Offset to HTTP URI root equals -2 (QZHT_NO_CHANGE), the following rules are used to map current description values for reuse:
If the current type is: | Details | |
---|---|---|
*IFS | use current Local directory root path | Refers to DSDP0200 format. |
*HTTP1 or *HTTP2 | use current HTTP URI root path | No change is made |
any other | use default path |
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. |
-2 | QZHT_NO_CHANGE: If the current description type is *HTTP1 or *HTTP2, the current path for HTTP URI root is not changed. If the current description type is not *HTTP1 or *HTTP2, see details for HTTP URI root on how current description values are mapped for reuse by the new description type. |
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. |
-2 | QZHT_NO_CHANGE: If the current description type is *HTTP1 or *HTTP2, the current value is not changed. If the current description type is not *HTTP1 or *HTTP2, the default value is used. |
Offset | Type | Field | |
---|---|---|---|
Dec | Hex | ||
0 | 0 | Everything from DSDP0100 format | |
84 | 54 | Char(32) | HTTP host |
116 | 74 | Binary(4) | HTTP TCP port |
120 | 78 | Binary(4) | Offset to HTTP URI root |
124 | 7C | Binary(4) | Length of HTTP URI root |
128 | 80 | Binary(4) | HTTP keepalive |
132 | 84 | Binary(4) | Timeout |
Char(*) | HTTP URI root |
Special values and their meanings are as follows:
If the current type is: | Details | |
---|---|---|
*HTTP2 | the description currently referenced for HTTP host is not changed | No change is made. |
any other | the default host description currently associated with the triggered cache manager server is referenced |
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. |
-2 | QZHT_NO_CHANGE: If the current description type is *HTTP1 or *HTTP2, the current value is not changed. If the current description type is not *HTTP1 or *HTTP2, the default value is used. |
Special values and their meanings are as follows:
-1 | QZHT_DEFAULT: The default value is used. |
-2 | QZHT_NO_CHANGE: The following rules are used to map current description values for reuse. |
If the current type is: | Details | |
---|---|---|
*HTTP1 or *HTTP2 | use current HTTP TCP port value | No change is made. |
any other | use default value |
If Offset to HTTP URI root equals -2 (QZHT_NO_CHANGE), the following rules are used to map current description values for reuse:
If the current type is: | Details | |
---|---|---|
*IFS | use current Local directory root path | Refers to DSDP0200 format |
*HTTP1 or *HTTP2 | use current HTTP URI root path | No change is made |
any other | use default path |
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. |
-2 | QZHT_NO_CHANGE: If the current description type is *HTTP1 or *HTTP2, the current path for HTTP URI root is not changed. If the current description type is not *HTTP1 or *HTTP2, see details for HTTP URI root on how current description values are mapped for reuse by the new description type. |
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. |
-2 | QZHT_NO_CHANGE: If the current description type is *HTTP1 or *HTTP2, the current value is not changed. If the current description type is not *HTTP1 or *HTTP2, the default value is used. |