Selecting a file system

ACUCOBOL-GT allows a program to interface with more than one external file system in the same program. The file systems supported by the run time are identified and enabled in the file filetbl.c (located in the LIB directory). On the HP e3000, support for the KSAM and Vision indexed file systems is enabled by default.

To specify the indexed file system that the program uses, set the DEFAULT_FILESYSTEM configuration variable. To define a file system for use with a particular file, you set the filename_HOST configuration variable. For an introduction to ACUCOBOL-GT runtime configuration variables and the configuration file, see Runtime Configuration.