Guardian Programming Reference Summary for pTAL and TAL

Procedure Calls Summary (A-C)
Guardian Programming Reference Summary for pTAL and TAL522631-001
4-17
CHECKCLOSE
(Superseded by FILE_CLOSE_CHKPT_) Is called by a primary process to close a
designated file in its backup process.
segment-id, INT:value input
filename, INT .EXT:ref:12 input
pin-and-flags, INT:value input
<8:15> Optional PIN for segment sharing.
<5:7> Not used; must be zero (0).
<4> Allocate an extensible segment.
<3> Allocate a segment sharable by the file-name method.
<2> Allocate a writeback-inhibit segment.
<1> If 1, bits <8:15> are ignored.
<1> If 0, allocate a segment sharable by the PIN method.
error, INT .EXT:ref:1 output
2 Segment is not allocated by the primary process or segment ID is invalid.
22 Bounds error on file name.
29 The segment-id parameter is missing.
30 No message-system control blocks available.
31 Cannot use the PFS, or there is no room in the PFS for a message buffer in either
the backup process or the primary process.
201 Unable to link to the backup process.
< (CCL) Error is missing, or there is a bounds error on the error parameter.
= (CCE) Is set by all other errors (see error parameter).
CALL CHECKCLOSE ( filenum ,[ tape-disposition ] );
filenum, INT:value input
tape-disposition, INT:value input