Information about the ODBC Driver installed on the system is saved in the odbcinst.ini file. This file is typically located at /etc/odbcinst.ini.
The information about data sources is saved in one of two files:
User data source information, available only to that user, is saved in the $HOME/.odbc.ini file, where $HOME is the user home directory.
System data source information, available to any user on the system, is typically saved in the /etc/odbc.ini file. If the same data source is defined in both the files, the user data source takes precedence.
The ODBC Driver Manager looks up these files at runtime when an application requests a connection to a data source.
Refer to your ODBC Driver Manager documentation for
the exact path for these ini files. Some Driver
Manager use alternate locations.
If your application is not using ODBC Driver Manager and uses the ASE ODBC Driver directly, the ini file is searched differently. The ASE ODBC Driver first looks for a file named odbc.ini in the current working directory. If the file is not found or the data source not found in the file, it looks for $SYBASE/odbc.ini.