ODBC Trace Library on UNIX/Linux

A new attribute is available in 5.3 SP1 for the trace library on UNIX/Linux. Tracing is described in "Tracing" in "Configuring the Product on UNIX/Linux" of the DataDirect Connect for ODBC and Connect XE for ODBC User's Guide. The new attribute is TraceOptions (TO) and has the following values:

0 - Use standard ODBC tracing (the initial default).

1 - Print the current timestamp, parent process id, process id, and thread id for all ODBC functions to the output file.

For example, the [ODBC] section of the odbc.ini file might include:

Trace=1 
TraceFile=odbctrace.out 
TraceDll=ODBCHOME/lib/odbctrac.so 
TraceOptions=1 

In this example, tracing is enabled, trace information is logged in a file named odbctrace.out, odbctrac.so performs the tracing, and timestamp and other information is included in odbctrace.out.