Guardian Procedure Calls Reference Manual (G06.25+)

Guardian Procedure Calls (C)
Guardian Procedure Calls Reference Manual522629-013
3-68
CHECKSETMODE Procedure
80 Set system message modes.
117 Set TRANSID forwarding.
141 Enable/disable large transfers.
149 Set alternate key insertion locking.
error output
INT .EXT:ref:1
the error that occurred on the operation. The following file-system errors are
returned from CHECKSETMODE:
2 The function parameter is not one of the allowed values.
29 The filenum or function parameter is missing.
30 No message control blocks are available.
31 Cannot use the process file segment (PFS), or the PFS has no room for a
message buffer in either the backup process or the primary process.
201 Unable to link to the backup process.
Condition Code Settings
If the error parameter is missing, or there is a bounds error on the error parameter,
the condition code is set to CCL. All other errors set the condition code to CCE. CCG
is never returned from this procedure.
Considerations
CHECKSETMODE supports SETMODE functions that set flags in either the ACB
of a file or the PCB of a process. The values of the flags set in the primary
process’s ACB or PCB set the backup process’s flags.
The caller of CHECKSETMODE is suspended until the operation is complete (even
if the file is opened in nowait mode).