To turn on ODBC traces in Datacom Server under windows start the windows ODBC Data Sources application (called ODBC Administrator prior to Windows 10).
Type ODBC in the Windows search box and select either the 64-bit or 32-bit application depending on where the ODBC data source is defined.
Click on the System DSN tab and then click on the Data Source name you want to change, then click on Configure.
Click on the Log Options tab
On the Log Options tab tick on the check boxes for traces you want to set. You should select at least ODBC and WDBSQLE traces.
Optionally change the location where the trace file will be created. The default locations and filenames are:
Then click OK.
The traces are now set.
To turn off tracing go through the steps again and clear the check boxes for the traces in the Log Options tab.