Incorporated into the Data Server and client config.bbx files, PREFIX statements define the directories to be searched and identify the search order. The following defines the basic config.bbx file PREFIX syntax:
PREFIX /first_search directory/ /second_search_directory/...
Each defined directory must be contained within forward slash characters
and separated from the following directory with a blank space. Config.bbx file PREFIX statements, unlike
those in the BBx language, are not specified within quotation marks.
To define the search paths, do the following:
In the client config.bbx file, create a PREFIX statement that specifies the name of the host server. For example, the following statement would specify the accounts host server:
In the Data Server config.bbx file, create a PREFIX statement to specify the directories that contain the data files. For example, the following statement would cause the current directory to be searched first, followed by the data1, data2, and data3 directories.
PREFIX /data1/ /data2/ /data3/
When a PREFIX statement is in place, the following search order applies:
The current directory of the current drive.
PREFIX entries that apply the Data Server and the current working drive, according to the order of appearance in the PREFIX statement.
Local or mapped drives that have not been excluded via DSKSYN, according to the order of appearance in the PREFIX statement. The following is performed on each drive before moving onto the next drive:
Root of local or mapped drives.
PREFIX entries that apply to the drive and entries without a drive designation