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 QzhtAddTCMHostDesc API to add new host descriptions to the configuration of triggered cache manager servers. New host descriptions are referenced subsequently, by name, from certain types of data source, cache target, and acknowledgment target descriptions associated with the same server. New host descriptions are utilized by all 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 add a new host 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) | Host description |
64 | 40 | Binary(4) | Default property |
68 | 44 | Char(32) | IP interface |
Special values and their meanings are as follows:
1 | QZHT_YES, QZHT_TRUE, QZHT_ENABLED: The description is the default host description for this server. |
0 | QZHT_NO, QZHT_FALSE, QZHT_DISABLED: The description is not the default host description. |
-2 | QZHT_DEFAULT: The default value is used. |
Special values and their meanings are as follows: