Progress
ODBC Driver Guide


The ODBCINI Environment Variable

UNIX support of the ODBC driver permits the use of a centralized system information file that a system administrator can control. This is accomplished by setting the environment variable ODBCINI to point to the fully qualified pathname of the centralized file. For example, in the C shell you could set this variable as follows:

setenv ODBCINI /dlc/odbc/odbc.ini 

In the Bourne or Korn shell, you would set it as:

ODBCINI=/dlc/odbc/system_odbc.ini;export ODBCINI 

ODBCINI is an environment variable that the Progress SQL-92 ODBC driver will recognize. You can set ODBCINI to use a system information file other than the default file. You can have multiple system information files and change the ODBCINI environment variable to point to the one you want to use.

The search order for the location of the system information file is as follows:

  1. Check ODBCINI
  2. Check $HOME for .odbc.ini

There must be an [ODBC] section in the system information file that includes the InstallDir keyword. The value of this keyword must be the path to the directory under which the /lib and /messages directories are contained. For example, if you choose the default install directory, then the following line must be in the [ODBC] section:

InstallDir=/dlc/odbc 


Copyright © 2004 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095