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 |
The QzhtAddTCMPublishingRule API adds new publishing rules to the configurations of triggered cache manager servers. New publishing rules are referenced subsequently, by name, from rule sets associated with the same server. New publishing rules are utilized by all Rule Sets referencing them the next time the servers are started. The API is a callable service implemented as an ILE entry point within QZHTINCONF *SRVPGM in QTCM *LIB.
The QTCM/H(QZHTINCONF) header file includes ILE C prototypes for this API.
The variable used to pass information to add a new publishing rule.
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) | Publishing rule name |
64 | 40 | Binary(4) | Offset to file extensions |
68 | 44 | Binary(4) | Length of file extensions |
72 | 48 | Binary(4) | Read from data source |
76 | 4C | Binary(4) | Send data source version |
80 | 50 | Binary(4) | Parse and assemble |
84 | 54 | Binary(4) | Send assembled version |
88 | 58 | Binary(4) | Offset to new file extension |
72 | 5C | Binary(4) | Length of new file extension |
Char(*) | File extensions | ||
Char(*) | New file extension |
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 New file extension. |
Special values and their meanings are as follows:
1 | QZHT_YES, QZHT_TRUE, QZHT_ENABLED: Files matching this publishing rule are parsed and possibly sent through the page assembler. |
0 | QZHT_NO, QZHT_FALSE, QZHT_DISABLED: Files matching this
publishing rule are not parsed. Note: Files that are not parsed are not sent
through the page assembler.
|
-1 | QZHT_DEFAULT: The default value is used. |
Special values and their meanings are as follows:
1 | QZHT_YES, QZHT_TRUE, QZHT_ENABLED: Files matching this publishing rule are read from the data source when triggered. |
0 | QZHT_NO, QZHT_FALSE, QZHT_DISABLED: Files matching this
publishing rule are not read from the data source. Note: Not reading files
from the data source is useful when triggers specify a file which is purely
symbolic and need not correspond to an actual file, yet causes dependent files
processing.
|
-1 | QZHT_DEFAULT: The default value is used. |
Special values and their meanings are as follows:
1 | QZHT_YES, QZHT_TRUE, QZHT_ENABLED: Assembled versions of files matching this publishing rule are sent to cache targets when triggered and processed. |
0 | QZHT_NO, QZHT_FALSE, QZHT_DISABLED: Assembled versions of files matching this publishing rule are not sent to cache targets. |
-1 | QZHT_DEFAULT: The default value is used. |
Special values and their meanings are as follows:
1 | QZHT_YES, QZHT_TRUE, QZHT_ENABLED: Data source versions of files matching this publishing rule are sent to cache targets when triggered and processed. |
0 | QZHT_NO, QZHT_FALSE, QZHT_DISABLED: Data source versions of files matching this publishing rule are not sent to cache targets. |
-1 | QZHT_DEFAULT: The default value is used. |