Procedure DataFileSetAcronym(datafile, acronym)


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 DataFileSetAcronym you can set the acronym for the data file corresponding to any element of the set AllDataFiles (cases or datasets).

        datafile,     ! (input) element in the set AllDataFiles
        acronym       ! (input) scalar string parameter



An element in the set AllDataFiles.


A scalar string valued parameter. This parameter contains the acronym to be associated with the datafile. If an empty string is specified, any existing acronym will be deleted.

Return Value

The procedure returns 1 if the given datafile still exists, and 0 otherwise.


  • This function is only applicable if the project option Data_Management_style is set to Single_Data_Manager_file.

See also

The procedures DataFileExists, DataFileGetAcronym.