Guardian Procedure Calls Reference Manual (G06.25+)
Guardian Procedure Calls (C)
Guardian Procedure Calls Reference Manual—522629-013
3-30
CHECKCLOSE Procedure
(Superseded by FILE_CLOSE_CHKPT_ Procedure )
CHECKCLOSE Procedure
(Superseded by FILE_CLOSE_CHKPT_
Procedure )
Summary
Syntax for C Programmers
Syntax for TAL Programmers
Parameters
Condition Code Settings
Considerations
Summary
The CHECKCLOSE procedure is called by a primary process to close a designated file
in its backup process.
The backup process must be in the monitor state (that is, in a call to
CHECKMONITOR) for the CHECKCLOSE to be successful. The call to
CHECKCLOSE causes the CHECKMONITOR procedure in the backup process to call
the file-system CLOSE procedure for the designated file.
Syntax for C Programmers
This passive backup procedure is not supported in C programs. For a comparison of
active backup and passive backup, refer to the
Guardian Programmer’s Guide.
Syntax for TAL Programmers
Parameters
filenum input
INT:value
is the file number of an open file to be closed in the backup process.
tape-disposition input
INT:value
Note. This procedure is supported for compatibility with previous software and should not be
used for new development.
CALL CHECKCLOSE ( filenum ! i
,[ tape-disposition ] ); ! i