SuperFileExists

STD.File.SuperFileExists( filename )

filenameA null-terminated string containing the logical name of the superfile.
Return: SuperFileExists returns a BOOLEAN value.

The SuperFileExists function returns TRUE if the specified filename is present in the Distributed File Utility (DFU) and is a SuperFile. It returns FALSE if the filename does exist but it is not a SuperFile (in other words, it is a normal DATASET. Use the STD.File.FileExists function to detect their presence or absence).

This function is not included in a superfile transaction.

Example:

A := STD.File.SuperFileExists('~CLASS::RT::IN::SF1');

See Also: FileExists