ODBC section
The values in the ODBC section of odbc.ini specify ODBC tracing options.
With tracing, you can find the log of calls made and also the return codes for each call. These options are set through the Tracing tab of the ODBC Data Source Administrator dialog box on Windows™.
The following table describes the tracing options in the ODBC section:
Option | Details |
---|---|
TRACE=1 | Tracing enabled |
TRACE=0 | Tracing disabled |
TRACEFILE | Set to where you want to driver to write the call logs. |
TRACEDLL | Always idmrs09a.so |
The following example illustrates an ODBC section specification
format:
[ODBC]
TRACE=1
TRACEFILE=/WORK/ODBC/ODBC.LOG
TRACEDLL=idmrs09a.so
UNICODE=UCS-4
You must set the TRACEFILE to where you want the driver to write all of the call logs. Keep in mind that TRACE=1 means that tracing is enabled. TRACE=0 disables tracing options.