Guardian Programming Reference Summary for pTAL and TAL

Procedure Calls Summary (D-F)
Guardian Programming Reference Summary for pTAL and TAL522631-001
5-44
FILE_OPEN_CHKPT_
Is called by a primary process to open a designated file for its backup process.
FILE_PURGE_
Deletes a disk file that is not open. This procedure operates only on Guardian objects.
FILE_RENAME_
Changes the name of an open disk file.
error := FILE_OPEN_CHKPT_ ( filenum
,[ status ] );
error, INT returned value
filenum, INT:value input
status, INT .EXT:ref output
0 Backup open succeeded (error is 0).
1 File was opened in backup with warning.
2 Open failed in backup.
3 Unable to communicate with backup.
4 Error occurred in primary.
error := FILE_PURGE_ ( filename:length );
error, INT returned value
filename:length, STRING .EXT:ref:*,INT:value input:input
error := FILE_RENAME_ ( filenum
,newname:length );
error, INT returned value
filenum, INT:value input
newname:length, STRING .EXT:ref:*,INT:value input:input