Guardian Procedure Calls Reference Manual

error
output
INT .EXT:ref:1
the error that occurred on the operation. These file-system errors are returned from
CHECKSETMODE:
The function parameter is not one of the allowed values.2
The filenum or function parameter is missing.29
No message control blocks are available.30
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.
31
Unable to link to the backup process.201
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' ACB or PCB set the backup
process' flags.
The caller of CHECKSETMODE is suspended until the operation is complete (even if the file
is opened in nowait mode).
CHECKSETMODE Procedure 163