Previous Topic

Next Topic

Additional tips for the ctree Server Script

The following suggestions are intended for c-tree ODBC Driver dictionary scripts when used with the c-tree Server.

It is best to either prefix the file name with the path to the data files, from the c-tree Server perspective, or include no path at all. For example, to create the data dictionary for a c-tree Server residing in the directory /usr/fairserv, FAIRCOM.DB should appear as here:

CUSTOMERS      /usr/fairserv/custmast.dat
ORDERS         /usr/fairserv/custordr.dat
ORDER_DETAIL   /usr/fairserv/ordritem.dat
ITEMS          /usr/fairserv/itemmast.dat

The case sensitivity for file and path names is based on the requirements of the operating system (i.e., most Unix file naming conventions are case sensitive). If your c-tree Server is on a Unix based operating system (AIX, SCO, AT&T, etc.) be sure to use a forward slash ‘/’ to separate the paths as shown in Figure 2-3: faircom.db - Data Dictionary for Server in /usr/fairserv on page 2-6.