Set environment variables on UNIX

If you set the environment variables at the command line, you must reset them whenever you log on to your system. If you set the environment variables in a file, they are set automatically when you log on to your system.

HCL OneDB™ ODBC Driver provides a sample setup file called setup.odbc in $ONEDB_HOME/etc. You can use this file to set environment variables for the driver. The following list describes the environment variables that are in setup.odbc.

ONEDB_HOME
Full path of the directory where HCL OneDB Client Software Development Kit is installed.
ONEDB_ SQLHOSTS
This value is optional. It specifies the directory that contains sqlhosts. By default, sqlhosts is in $ONEDB_HOME/etc. Set ONEDB_ SQLHOSTS if you want sqlhosts to be in a different directory.
ODBCINI
This value is optional. You can use it to specify an alternative location for the odbc.ini file. The default location is your home directory.