Get_filelist Command
Obsolete
This command is replaced by the DF_FILELIST_NAME Database API attribute.
This command was often used when filelists could only contain fewer tables than now or to add functionality that is now achieved by using multiple workspaces with different data paths.
Purpose
To return the name of the current file-list file.
Syntax
get_filelist variable
Argument Explanation
- variable: A String variable to hold the name of the file being used as the file list.
What It Does
get_filelist will retrieve the name of the file-list file currently being used by DataFlex. It may be the default file list found through the DFPATH environment variable, or it may be one set through the use of the set_filelist command.
string current_filelist
get_filelist current_filelist
This example retrieves the name of the current file-list file into the variable current_filelist.
Notes
- The default name of the file-list file is
FILELIST.CFG.