STD.File.SuperFileContents( filename [ , recurse ] )
filename | A null-terminated string containing the logical name of the SuperFile. |
recurse | A boolean flag indicating whether to expand nested SuperFiles withinthe filename so that only logical files are returned. If omitted, the default is FALSE. |
Return: | SuperFileContents returns a dataset in the following format: |
EXPORT FsLogicalFileNameRecord := RECORD STRING name; END;
The SuperFileContents function returns a list of the logical filenames of all the sub-files in the filename.
This function is not included in a superfile transaction.
Example:
OUTPUT(STD.File.SuperFileContents('~CLASS::RT::SF::Daily')); //returns all files in the SuperFile