Guardian Programming Reference Summary for pTAL and TAL
SETMODE Operations
Guardian Programming Reference Summary for pTAL and TAL—522631-001
11-19
95 Disk: Flush dirty cache buffers
The param1 parameter is not used with function 95.
The param2 parameter is not used with function 95.
If last-params is specified, SETMODE returns:
0 = broken file flag off after dirty cache blocks were written to disk
1 = broken file flag on, indicating some part of file is bad, possibly due to
failed write of a dirty cache block
97 License program to use privileged procedures
param1
= 0 disallow privilege (revoke license)
= 1 allow privilege (license)
The param2 parameter is not used with function 97.
To use this SETMODE function on a Guardian file, the user must be logged on
as the super ID (255,255) on the system where the file is located. To use this
function on an OSS object, the user must have appropriate privilege; that is,
the user must be locally authenticated as the super ID on the system where the
target object resides.
99 TAPEPROCESS error recovery method
param1
= 0 record level (default)
= 1 file level
= 2 volume level
Once set, the error recovery method remains set until changed or until the
application closes TAPEPROCESS.
The param2 parameter is not used with function 99.
Note. SETMODEs 100-109 are reserved for customer use.
<function> Parameters and Effect