B: %b/manif/rads old = .drads( [option] );
C: #include <host_io.h> int _drads( [int option] );
If you omit the "option" argument, .DRADS assumes RADS_QUERY. This means that .DRADS returns the current library setting without changing the default.
.DRADS lets you set a default for the way your program uses GCOS8's disk caching abilities (RADS). This only affects dynamically accessed permanent files.
If you use .DRADS to set the default to something other than RADS_SYS, the I/O library automatically calls the .RADS function every time it accesses a permanent file. This call to .RADS specifies the default setting established by the most recent call to .DRADS.
If you do not use .DRADS to set a default, or if the default is set to RADS_SYS, the I/O library does not call .RADS when it opens an I/O unit. This means that the I/O unit will use the default specified by the system administrator. You can override the default for a particular I/O unit by calling .RADS after the file has been opened. For statically allocated files, non-default cache handling can be specified with options on the $PRMFL card, or by a explicit call to .RADS.
.DRADS has no effect in TSS. It only applies to batch programs (including NS mode programs).
The Rapid Access Data System Manual, EA67
Copyright © 1996, Thinkage Ltd.