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 QzhtChgTCMCacheTargetDesc API to change cache target description associated with triggered cache manager servers. Changes made to cache target descriptions are utilized by all trigger handler descriptions referencing 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 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. See Cache target description formats for more information. 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 cache target description information 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) | 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:
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. |
-2 | QZHT_NO_CHANGE: The current value is not changed. |
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. |
-2 | QZHT_NO_CHANGE: The current value is not changed. |
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:
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 |
If Offset to local directory 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 | No change is made. |
*HTTP1 or *HTTP2 | use current HTTP URI root path | Refers to CTDP0300 or DSDP0310 format. |
*ECCP1 or *ECCP2 | use current HTTP cluster URI root path | Refers to CTDP0500 or CTDP0510 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 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:
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 CTDP0310 format. |
*ECCP1 | use current ECCP IP interface value | Refers to CTDP0500 format. |
*ECCP2 | use IP interface value from the host description currently referenced by ECCP host | An exception occurs if the referenced description does not exist. Refers to CTDP0510 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. |
*ECCP1 or *ECCP2 | use current ECCP TCP port value | Refers to CTDP0500 or CTDP0510 format. |
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 CTDP0200 format. |
*HTTP1 or *HTTP2 | use current HTTP URI root path | No change is made. |
*ECCP1 or *ECCP2 | use current HTTP cluster URI root path | Refers to CTDP0500 or CTDP0510 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 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 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 root |
132 | 84 | Binary(4) | HTTP keepalive |
136 | 88 | 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. |
*ECCP2 | the description currently referenced for ECCP host is referenced | An exception occurs if the referenced description does not exist. Refers to CTDP0510 format. |
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. |
*ECCP1 or *ECCP2 | use current ECCP TCP port value | Refers to CTDP0500 or CTDP0510 format. |
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 CTDP0200 format. |
*HTTP1 or *HTTP2 | use current HTTP URI root path | No change is made. |
*ECCP1 or *ECCP2 | use current HTTP cluster URI root path | Refers to CTDP0500 or CTDP0510 format. |
any other | use default path |
Special values and their meanings are as follows:
0 | QZHT_NONE: Same as -1 (QZHT_DEFAULT). |
-1 | QQZHT_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. |
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 |
616 | 26C | Binary(4) | ECCP keepalive |
Char(*) | HTTP cluster 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 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. |
-2 | QZHT_NO_CHANGE: The current value is not changed. |
Special values and their meanings are as follows:
If the current type is: | Details | |
---|---|---|
*ECCP1 | use current ECCP IP interface value | No change is made. |
*ECCP2 | use IP interface value from the host description currently referenced by ECCP host | An exception occurs if the referenced description does not exist. Refers to CTDP0510 format. |
Note: An exception occurs if the current
type is not one of the types listed above and *SAME is specified for ECCP
IP interface.
|
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: The following rules are used to map current description values for reuse: |
If the current type is: | Details | |
---|---|---|
*HTTP1 or *HTTP2 | use current HTTP keepalive value | Refers to CTDP0300 or CTDP0310 format. |
*ECCP1 or *ECCP2 | use current ECCP keepalive value | No change is made. |
any other | use default value |
Special values and their meanings are as follows:
-2 | QZHT_NO_CHANGE: If the current description type is *ECCP1 or *ECCP2, the current value is not changed. |
Note: If the current description type
is not *ECCP1 or *ECCP2, an escape message is sent if -2 (QZHT_NO_CHANGE)
is specified.
|
Special values and their meanings are as follows:
If the current type is: | Details | |
---|---|---|
*HTTP1 | use current HTTP IP interface value | Refers to CTDP0300 format. |
*HTTP2 | use IP interface value from the host description currently referenced by HTTP host . | Refers to the CTDP0310 format |
*ECCP1 | use current ECCP IP interface value | No change is made. |
*ECCP2 | use IP interface value from the host description currently referenced by ECCP host | An exception occurs if the referenced description does not exist. Refers to CTDP0510 format. |
any other | use default value | |
Note: An exception occurs if the current
type is not one of the types listed above and *SAME is specified for HTTP
cluster IP interface.
|
Special values and their meanings are as follows:
-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 | Refers to CTDP0300 or CTDP0310 format. |
*ECCP1 or *ECCP2 | use current ECCP TCP port value | No change is made. |
any other | use default value | |
Note: An exception occurs if the current
type is not one of the types listed above and -2 (QZHT_NO_CHANGE) is specified
for HTTP cluster IP interface.
|
If Offset to HTTP cluster 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 CTDP0200 format. |
*HTTP1 or *HTTP2 | use current HTTP URI root path | Refers to CTDP0300 or CTDP0310 format. |
*ECCP1 or *ECCP2 | use current HTTP cluster URI root path | No change is made. |
any other | use default path |
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. |
-2 | QZHT_NO_CHANGE: The current value is not changed. |
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: Same as -1 (QZHT_DEFAULT). |
-1 | QZHT_DEFAULT: The default path is used for HTTP cluster URI root. |
-2 | QZHT_NO_CHANGE: If the current description type is *ECCP1 or *ECCP2, the current path for HTTP cluster URI root is not changed. If the current description type is not *ECCP1 or *ECCP2, see details for HTTP cluster URI root on how current description values are mapped for reuse by the new description type. |
Special values and their meanings are as follows:
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:
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. |
-2 | QZHT_NO_CHANGE: The current value is not changed. |
Special values and their meanings are as follows:
If the current type is: | Details | |
---|---|---|
*HTTP2 | the description currently referenced for HTTP host is referenced | An exception occurs if the referenced description does not exist. Refers to CTDP0510 format. |
*ECCP2 | the description currently referenced for ECCP host is not changed | No change is made. |
any other | the default host description currently associated with the triggered cache manager server is referenced |
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: The following rules are used to map current description values for reuse: |
If the current type is: | Details | |
---|---|---|
*HTTP1 or *HTTP2 | use current HTTP keepalive value | Refers to CTDP0300 or CTDP0310 format. |
*ECCP1 or *ECCP2 | use current ECCP keepalive value | No change is made. |
any other | use default value |
Special values and their meanings are as follows:
-2 | QZHT_NO_CHANGE: If the current description type is *ECCP1 or *ECCP2, the current value is not changed. |
Note: If the current description type
is not *ECCP1 or *ECCP2, an escape message is sent if -2 (QZHT_NO_CHANGE)
is specified.
|
Special values and their meanings are as follows:
If the current type is: | Details | |
---|---|---|
*HTTP1 | use current HTTP IP interface value | Refers to CTDP0300 format. |
*HTTP2 | use IP interface value from the host description currently referenced by HTTP host | Refers to the CTDP0310 format. |
*ECCP1 | use current ECCP IP interface value | Refers to CTDP0500 format. |
*ECCP2 | use IP interface value from the host description currently referenced by ECCP host | No change is made. |
Note: An exception occurs if the current
type is not one of the types listed above and *SAME is specified for HTTP
cluster IP interface.
|
Special values and their meanings are as follows:
-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 | Refers to CTDP0300 or CTDP0310 format. |
*ECCP1 or *ECCP2 | use current ECCP TCP port value | No change is made. |
Note: An exception occurs if the current
type is not one of the types listed above and -2 (QZHT_NO_CHANGE) is specified
for HTTP cluster IP interface.
|
If Offset to HTTP cluster 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 CTDP0200 format. |
*HTTP1 or *HTTP2 | use current HTTP URI root path | Refers to CTDP0300 or CTDP0310 format. |
*ECCP1 or *ECCP2 | use current HTTP cluster URI root path | No change is made. |
any other | use default path |
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. |
-2 | QZHT_NO_CHANGE: The current value is not changed. |
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: Same as -1 (QZHT_DEFAULT). |
-1 | QZHT_DEFAULT: The default path is used for HTTP cluster URI root. |
-2 | QZHT_NO_CHANGE: If the current description type is *ECCP1 or *ECCP2, the current path for HTTP cluster URI root is not changed. If the current description type is not *ECCP1 or *ECCP2, see details for HTTP cluster URI root on how current description values are mapped for reuse by the new description type. |
Special values and their meanings are as follows: