- Procedure DataFileGetName(datafile, name)
DataFileGetName
The predefined set AllDataFiles
(and its subsets AllCases
and
AllDataSets
), is an integer set. The mapping of these integers onto
the cases and datasets in the project is maintained by the data manager,
and is not editable. With the procedure DataFileGetName
you can
obtain the name in the data manager for any element of the set
AllDataFiles
(cases or datasets).
DataFileGetName(
datafile, ! (input) element in the set AllDataFiles
name ! (output) scalar string parameter
)
Arguments
- datafile
An element in the set
AllDataFiles
.- name
A scalar string valued parameter. On return this parameter will contain the name of the datafile. This name does not include the name of the folder(s) in which it is located.
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
.
See also
The procedures DataFileExists
, DataFileGetPath
, DataFileGetAcronym
.