Guardian Procedure Calls Reference Manual

Table 44 SETMODE Functions (continued)
Parameters and EffectFunction
enables processing of CTRL-C (03 hex) as break character. Equivalent
startup option is -BREAKDATA (default).
= 1
param2 is not used with function 263
Note that IAC BREAK will still be processed.
For more information about -BREAKDATA and -NOBREAKDATA, see the Telserv Guide.
Telserv: Enables/disables processing of CTRL-S and CTRL-Q characters as XON and XOFF.264
disables the processing of CTRL-S and CTRL-Q characters as flow
control characters. Instead they are interpreted as normal data
characters. Equivalent startup option is -NOFLOWCTRL.
= 0param1
enables the processing of CTRL-S and CTRL-Q characters as flow
control characters(XON and XOFF respectively). Equivalent startup
option is -FLOWCTRL (default).
= 1
param2 is not used with function 264.
For more information about -FLOWCTRL and -NOFLOWCTRL, see the Telserv Guide.
Disk: Set the TRUST flag that controls the direct I/O access permission to user buffers when the process
is running.
265
disables the TRUST flag.= 0param1
enables the TRUST flag, allowing private access to the process.= 1
enables the TRUST flag, allowing shared access to the process.= 3
param2 is not used with function 265
To use SETMODE function on a Guardian file, the user must log on as the super ID on the system. To use
SETMODE function on an OSS file, the user must have the appropriate privilege. That is, the user must
be locally authenticated as the super ID on the system.
Function 265 is useful only on NonStop Advanced Architecture (NSAA) systems running H-series RVUs.
Systems running J-series RVUs and NonStop Value Architecture (NSVA) systems running H-series RVUs
accept but ignore the operation. It is not recognized on G-series RVUs.
Specify whether to defer the flush of a file's dirty blocks after all the openers have closed the file. The
setting of param1 determines the behavior. If multiple concurrent openers issue SETMODE function 266
for the same file, the value of param1 specified by the most recent request takes effect.
266
possibly flush the specified file's dirty blocks during file close
processing. This is the default behavior.
= 0param1
do not flush the specified file's dirty blocks during file close processing.= 1
Using SETMODE function 266 with nonzero sync-depth might have unexpected consequences if the file
is also opened with sync-depth = 0. If the open with nonzero sync-depth is closed while a
sync-depth = 0 open remains, the checkpointed buffers will be discarded by the Backup Disk Process.
A subsequent failure of the primary CPU, disk process, or primary disk paths could result in data being
lost for buffers that are not yet written.
SETMODE function 266 can be done only on structured, nonaudited files. This operation on unstructured
or audited files will fail with the error EINVALOP.
1342 Guardian Procedure Calls (S)