If you experience problems connecting to the data source, you can obtain ODBC tracing information to analyze and resolve the problems.
However, activating a trace does impact system performance. You should turn off tracing after you have resolved the connectivity problems.
If you are unable to connect to the data source with the Microsoft SQL Server wrapper, running a trace might help you diagnose the problem.
The cause of the problem might be an error in the wrapper configuration.
[ODBC]
Trace=1
TraceFile=/home/user1/trace_dir/filename.xxx
TraceDll==ODBC_driver_directory/odbctrac.so
InstallDir=/opt/odbc
To turn tracing on, set the first line to Trace=1. To turn tracing off, set the first line to Trace=0. The value of the TraceFile setting is the path and file name that the federated database instance has write access to.
Check the trace log file for problems.
On Windows, open the ODBC Data Source Administrator and click the Tracing tab. The path to the trace log file is shown in the Log File Path field.
On UNIX, open the odbc.ini file. The path to the trace log file is indicated by the TraceFile setting.