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 $INFORMIXDIR/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.
- INFORMIXDIR
- Full path of the directory where HCL OneDB Client Software Development Kit is installed.
- INFORMIXSQLHOSTS
- This value is optional. It specifies the directory that contains sqlhosts. By default, sqlhosts is in $INFORMIXDIR/etc. Set INFORMIXSQLHOSTS 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.