Guardian Procedure Calls Reference Manual (G06.25+)

Guardian Procedure Calls (S)
Guardian Procedure Calls Reference Manual522629-013
14-85
SETMODE Procedure
72 Force system buffering for nowait files
param1 = 1 force use of intermediate buffer in PFS for read
operations.
(Nowait write operations always require the data to remain unchanged until
completion of the information.)
= 0 allow the system to make transfers directly from user
buffers.
The default value for files opened by FILE_OPEN_ is 0; for files opened by
OPEN it is 1.
param2 is not used and should be zero if supplied.
80 ($RECEIVE): Set system message modes
param1 .<0:12> should be zero.
.<13> = 0 disable reception of -38 messages (default).
= 1 enable reception of cancellation (-38) messages.
.<14> = 0 disallow reception of SETPARAM (-37) messages,
returning error 2 to processes attempting SETPARAM
calls (default).
= 1 allow reception of SETPARAM (-37) messages.
.<15> = 0 disallow return of <last-param> values for SETMODE
(-33) messages, returning error 2 to processes
attempting to obtain them (default).
= 1 allow <last-param> values to be returned for SETMODE
(-33) messages. The extended form of the -33 message
will be delivered under this mode.
param2 is not used and should be zero if supplied.
90 Disk: Set buffered option defaults same as CREATE
param1 = 0 buffered
= 1 write-through
param2 is used with DP2 disk files only.
param2 = 0 change the open option setting of the buffered option
(default).
= 1 change the file label default value of the buffered option.
90,
continued
This function operates only on Guardian objects. If an OSS file is specified,
file-system error 2 occurs.
Table 14-4. SETMODE Functions (page 18 of 34)
function Parameters and Effect