By creating a simple text script, the FairCom Data Dictionary can be created automatically upon the first access to the c-tree ODBC Driver by an ODBC compliant application. A sample text script, FAIRCOM.DB, is included and is placed in the installation directory (C:\FAIRCOM\ODBC\32bit by default). The format of the text script is as follows. alias_name is the symbolic file name referenced from an ODBC application. file_name is the actual file name as it resides on disk, including the directory structure.
alias_name file_name
The text file should list the file alias names and the actual file names on a separate line for each file (see “Additional tips for the ctree Server Script” for an example).
The steps to create the FairCom Data Dictionary using the script method are:
After successfully creating the dictionary, the text script is no longer needed.
Note: A third method for creating the FairCom Data Dictionary is available for advanced users. This method is to use the import.exe utility shipped with the c-tree ODBC Driver. See “Data Dictionary Creation - Import Method” for additional information.