Guardian Procedure Calls Reference Manual (G06.25+)
Guardian Procedure Calls (S)
Guardian Procedure Calls Reference Manual—522629-013
14-97
SETMODE Procedure
153 Disk: Variable-length audit compression. (D10 and later RVUs. This function 
should be avoided if a fallback to a RVU earlier than D10 is possible.)
Enable or disable variable-length audit compression for any structured 
Enscribe file.
param1 = 1 enables variable-length audit compression.
= 0 disables variable-length audit compression.
param2 is not used with function 153. If supplied, it must be 0.
CAUTION: Since this feature generates undo and redo that cannot be 
processed correctly by earlier releases of the disk process, a fallback to a 
RVU earlier than D10 can result in problems.
If a fallback to a RVU earlier than D10 is possible, this function should be 
avoided. If this function is used and a fallback becomes necessary, the 
following steps should be taken:
1) TMF should be stopped while the affected volumes are 
brought up. TMF can subsequently be restarted. 
2) Once the earlier version of operating system is running, 
new TMF online dumps should be acquired for any 
TMF-protected files on which SETMODE function 153 
was used if TMF rollforward protection is required. 
158 Disk: Makes the validation of sector and block checksums optional for read 
opeartions. 
param1 = 0 Validate sector and block checksums on subsequent 
read operations.
= 1 Omit sector and block checksum validation on 
subsequent read operations.
param2 is not used with function 158. If supplied, it must be 0. 
last-params[0] contains the checksum setting.
SETMODE 158 does not validate the 
param1 argument and does not 
generate an error message if the argument is not valid.
By default, checksums are validated from disk I/O operations. SETMODE 
function 158 request is ignored for outstanding read operations. The file must 
be opened with unstrusctured-access option specified, even if the file is 
unstructured. Function 158 does not support alternate-key files or partitions.
Table 14-4. SETMODE Functions (page 30 of 34)
function  Parameters and Effect










