Procedure DataManagerExport(filename, datafiles)


With the procedure DataManagerExport you can export a collection of cases and datasets from the data management tree to a new data file.

        filename,       ! (input) a scalar string expression
        datafiles       ! (input/output) a subset of AllDataFiles



A string containing the name of the data file to which the cases and datasets must be exported.


A subset of AllDataFiles, containing the cases and datasets that you want to export. Any dataset that is referred to by a case in this set is automatically added to the set.

Return Value

The procedure returns 1 on success, or 0 otherwise.


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

See also

The procedure DataManagerImport.