company logo

Accessing file system directories

In order to access file system directories vie ODABA, a default extent DirectoryEntry is provided by the system. Before opening the extent, the option variable DirectoryEntry has to be set to the directory path (appended by the mask for file selection).

VARIABLES

  SET< DirectoryEntry >   fileList;

PROCESS

  Option("DirectoryEntry" = path + '/*.*';

  fileList.open(objectSpace(),"DirectoryEntry",'Read');

...