


A series of directories can be specified that are used to locate program object files and data files. Object files are located via the CODE-PREFIX configuration variable. Data files are located by the FILE-PREFIX variable.
Each of these variables specifies a series of one or more directories to be searched for the desired code or data file. The search method is detailed in the two sections below: "File Name Interpretation" and "Calling Subprograms."
The directories are specified as a sequence of space-delimited prefixes to be applied to the file name. All directories in the sequence must be valid names. The current directory can be indicated by a period (regardless of the host operating system). For example, the following line:
FILE-PREFIX . /usr/data
specifies that data files should first be searched for in the current directory and then in the "/usr/data" directory. For convenience, colons can be used along with spaces as a delimiter (except on MS-DOS systems where semicolons are used, and VMS systems where commas are used). As an example of this, the following may be specified for an MS-DOS system:
CODE-PREFIX C:\;C:\OBJ
For example, you can cause all of your object files to have the implicit extension of ".COB" by placing the following line in your configuration file:
CODE-SUFFIX COB