- Procedure DataFileExists(datafile)
DataFileExists
With the procedure DataFileExists
you can check whether a specific
element from the set AllDataFiles
still refers to a valid case or
dataset. Especially when multiple users have access to the same data
file, an element may become invalid.
DataFileExists(
datafile ! (input) element in the set AllDataFiles
)
Arguments
- datafile
An element in the set
AllDataFiles
,AllCases
orAllDataSets
.
Return Value
The procedure returns 1 if the given datafile still exists, and 0 otherwise.
Note
This function is only applicable if the project option
Data_Management_style
is set toSingle_Data_Manager_file
.Note that
AllCases
andAllDataSets
are subsets ofAllDataFiles
.
See also
The procedure DataFileGetName
.