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 |
The QzhtChgTCMPublishingRule API changes publishing rules associated with triggered cache manager servers. Changes made to publishing rules are utilized by all Rule Sets that are referencing them the next time that 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 used to change a 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 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 the which publishing rule 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) | 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 |
If Offset to file extensions equals -2 (QZHT_NO_CHANGE), the current list of file extensions is not changed.
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. |
-2 | QZHT_NO_CHANGE: The current file extension, if any, is not changed for 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. |
-2 | QZHT_NO_CHANGE: The current file extension, if any, is not changed 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. |
-2 | QZHT_NO_CHANGE: The current value is not changed. |
Special values and their meanings are as follows:
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. |
-2 | QZHT_NO_CHANGE: The current value is not changed. |
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. |
-2 | QZHT_NO_CHANGE: The current value is not changed. |
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. |
-2 | QZHT_NO_CHANGE: The current value is not changed. |
Special values and their meanings are as follows: