Guardian Procedure Calls Reference Manual

Table 44 SETMODE Functions (continued)
Parameters and EffectFunction
last-params reflects the current effective SETMODE function 72 value for this file, which is either 1 or
2, and not 0. This is applicable for systems running J06.05 and later J-series RVUs and H06.16 and later
H-series RVUs. For example, if the USERIOBUFFER_ALLOW_ procedure is called before the file is opened,
the last-params will return 2.
(Some nowaited write operations on the file with alternate keys will be forced to wait. Nowait write
operations always require the data to remain unchanged until the information is completed.) The default
value for files opened by FILE_OPEN_ is 0. For files opened by OPEN, the default value is 1.
($RECEIVE): Set system message modes80
is zero..<0:12>param1
disable reception of -38 messages (default).= 0.<13>
enable reception of cancellation (-38) messages.= 1
disallow reception of SETPARAM (-37) messages,
returning error 2 to processes attempting SETPARAM
calls (default).
= 0.<14>
allow reception of SETPARAM (-37) messages.= 1
disallow return of last-params values for SETMODE
(-33) messages, returning error 2 to processes attempting
to obtain them (default).
= 0.<15>
allow last-params values to be returned for SETMODE
(-33) messages. The extended form of the -33 message
will be delivered under this mode.
= 1
param2 is not used and must be zero if supplied.
Disk: Set buffered option defaults same as CREATE90
buffered= 0param1
write-through= 1
param2 is used with DP2 disk files only.
change the open option setting of the buffered option (default).= 0param2
change the file label default value of the buffered option.= 1
This function operates only on Guardian objects. If an OSS file is specified, file-system error 2 occurs.
Disk: Set cache and sequential option (function 91 is not applicable for alternate-key files).91
system managed (default). DP2 will detect sequential access; when
detected, it will set LRU access to sequential and perform
key-sequenced sequential splits.
= 0param1
direct I/O, bypass disk cache= 1
random access, LRU-chain buffer= 2
sequential access, reuse buffer. Directs DP2 to set cache LRU access
to sequential and perform key-sequenced sequential splits.
= 3
param2 is not used with function 91.
Sequential LRU access results in "random" LRU chaining that provides an approximate half-life within the
LRU cache chain.
Key-sequenced sequential splits attempt to leave the inserted record as the last in the old block, in contrast
to a 50/50 split. This helps to ensure a compact key-sequenced structure when multiple sequential records
are inserted.
1332 Guardian Procedure Calls (S)