The Driver Manager on UNIX and Linux supports file data sources. The advantage of a file data source is that it can be stored on a server and accessed by other machines, either Windows, UNIX, or Linux. See
“Quick Start Connect” for a general description of ODBC data sources on both Windows and UNIX.
The file data source is accessed by specifying the "FILEDSN=" instead of the "DSN=" keyword in a connection string, as outlined in the ODBC specification. The complete path to the file data source can be specified in the syntax that is normal for the machine on which the file is located. For example, on Windows:
If no path is specified for the file data source, the Driver Manager uses the DefaultDSNDir property, which is defined in the
[ODBC File DSN] setting in the odbc.ini file to locate file data sources (see
“Configuration Through the System Information (odbc.ini) File” for details). If the
[ODBC File DSN] setting is not defined, the Driver Manager uses the InstallDir setting in the [ODBC] section of the odbc.ini file. The Driver Manager does not support the SQLReadFileDSN and SQLWriteFileDSN functions.