Guardian Programming Reference Summary for pTAL and TAL

Procedure Calls Summary (A-C)
Guardian Programming Reference Summary for pTAL and TAL522631-001
4-26
CHECKSWITCH
Is called by a primary process to interchange the duties of the primary and backup
processes.
117 Set TRANSID forwarding.
141 Enable/disable large transfers.
149 Set alternate key insertion locking.
error, INT .EXT:ref:1 output
2 The value of function 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.
< CCL The error parameter is missing, or there is a bounds error on the error
parameter.
= CCG All other errors.
status := CHECKSWITCH;
status, INT returned value
<0:7> = 1 Could not communicate with the backup.
<8:15> = The file-system error number.
<0:7> = 2 <8:15>
= 0 The primary process stopped.
= 1 The primary process ended abnormally.
= 2 The processor running the primary process failed.
= 3 The primary process called CHECKSWITCH.