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 QzhtAddTCMDataSourceDesc API to add new data source descriptions to the configurations of triggered cache manager servers. New data source descriptions are referenced subsequently, by name, from trigger handler descriptions associated with the same server. New data source 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 data source 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 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:
1 | QZHT_YES, QZHT_TRUE, QZHT_ENABLED: The description becomes the default data source description for this server. |
0 | QZHT_NO, QZHT_FALSE, QZHT_DISABLED: The description is not the default data source description. |
-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 DSDP0100 format | |
84 | 54 | Binary(4) | Offset to local directory root |
88 | 58 | Binary(4) | Length of local directory root |
Char(*) | Local root directory |
Special values and their meanings are as follows:
0 | QZHT_NONE: Same as -1 (QZHT_DEFAULT). |
-1 | QZHT_DEFAULT: The default path is used. |
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:
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. |
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 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:
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. |