Guardian Programming Reference Summary for C
SETMODE Operations
Guardian Programming Reference Summary for C—522630-001
11-25
152 Disk: Skip cache flushing when closing nonaudited file (C30 and later releases
only)
param1
Bit 15
= 1 for nonaudited disk files, causes the cache not to be flushed when the file is
closed unless the close is either for the last open with write access or for the
last open with a nonzero sync-depth value.
= 0 disables the effect of SETMODE 152 with param1 = 1.
The param2 parameter is not used with function 152. If it is supplied, it must be
0.
To be effective, SETMODE 152 should be performed for each open of a file.
Any open that does not perform SETMODE 152 causes a flush of the cache
when it closes the file.
153 Disk: Variable-length audit compression. (D10 and later releases. This function
should be avoided if a fallback to a release 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.
The param2 parameter 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 release earlier than D10 can
result in problems.
If a fallback to a release 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. The TMF subsystem should be stopped while the affected volumes are
brought up. The TMF subsystem can subsequently be restarted.
2. Once the earlier version of operating system is running, new TMF
online dumps should be acquired for any files protected by the TMF
subsystem, on which SETMODE function 153 was used if subsystem
TMF rollforward protection is required.