Guardian Procedure Calls Reference Manual (G06.25+)
Guardian Procedure Calls (R)
Guardian Procedure Calls Reference Manual—522629-013
13-65
RESETSYNC Procedure
RESETSYNC Procedure
Summary
Syntax for C Programmers
Syntax for TAL Programmers
Parameters
Condition Code Settings
Considerations
Example
Summary
The RESETSYNC procedure is used by the backup process of a process pair after a
failure of the primary process. With this procedure, a different series of operations
might be performed from those performed by the primary before its failure.
The RESETSYNC procedure clears a process pair’s file synchronization block so that
the operations performed by the backup are not erroneously related to the operations
just completed by the primary process. It is typically used for open files whose file
synchronization blocks are not checkpointed after the most recent stack checkpoint.
Syntax for C Programmers
•
The function value returned by RESETSYNC, which indicates the condition code,
can be interpreted by
_status_lt(), _status_eq(), or _status_gt()
(defined in the file
tal.h).
Syntax for TAL Programmers
Parameters
filenum input
INT:value
is the number of an open file whose synchronization block is to be cleared.
Note. Typically, RESETSYNC is not called directly by application programs. Instead, it is
called indirectly by CHECKMONITOR.
#include <cextdecs(RESETSYNC)>
_cc_status RESETSYNC ( short filenum );
CALL RESETSYNC ( filenum ); ! i