Guardian Programming Reference Summary for pTAL and TAL

Procedure Calls Summary (A-C)
Guardian Programming Reference Summary for pTAL and TAL522631-001
4-20
CHECKOPEN
(Superseded by FILE_OPEN_CHKPT_) Is called by a primary process to open a
designated file for the primary’s backup process.
CALL CHECKOPEN ( filename
,filenum
,[ flags ]
,[ sync-or-receive-depth ]
,[ sequential-block-buffer ]
,[ buffer-length ]
,backerror );
filename, INT:ref:12 input
filenum, INT:value input, output
flags, INT:value input
<0> 1 Specifies that the “last open time” attribute of the file being opened is
not updated by this open (disk files only).
<1> $RECEIVE only, specifies whether the opener wants to receive open, close,
CONTROL, SETMODE, SETPARAM, RESETSYNC, and CONTROLBUF
messages:
0 Does not want messages
1 Wants messages
<2> Unstructured access to an Enscribe file structure:
0No
1Yes
<3> Reserved.
<4:5> Access mode:
0 Read/write
1 Read-only
2 Write-only
3 Reserved
<6> Resident buffering for unstructured files:
0No
1Yes
<7> Must be 0
For process files, open message is sent nowait and must be completed by a
call to AWAITIO[X]:
<8>