The .odbc.ini file specifies ODBC data sources on UNIX systems. Prior to this release, clients checked $HOME and $PATH in addition to $ODBCINI and $ODBCHOME to locate the .odbc.ini file at runtime. As of Sybase IQ12.7, clients search only the path specified by the value of the ODBCINI environment variable and then the ODBCHOME variable. You must explicitly set at least one of these variables in order to use ODBC data sources.
For example, if your .odbc.ini file is in the directory /usr/u/fiona/mysources, set the ODBCINI variable as follows in a c or tcsh shell:
setenv variable ODBCINI /usr/u/fiona/mysources/.odbc.ini
In shells such as sh, bash, or ksh, set the same variable as follows:
ODBCINI=/usr/u/fiona/mysources/.odbc.ini; export ODBCINI