Open System Services ODBC/MX Client Driver for SQL/MX Release 3.2 (H06.25+, J06.14+)

Tracing OSS ODBC/MX Client Driver
Configure Tracing on a Client Data Source
Tracing of ODBC is enabled or disabled through the ODBCDSN file. This is determined at the time
when all other parameters are fetched from the ODBCDSN file before establishing connection
between the MXOSRVR and the OSS ODBC/MX Client Driver.
NOTE: To turn tracing on or off, modify the ODBCDSN file accordingly and restart the application.
If tracing is enabled, the global trace flag is set and all the traceable ODBC data is logged into
the trace file henceforth.
The tracing parameters of the ODBCDSN file are:
[ODBC] parameter signifies the tracing support for ODBC.
TraceStart parameter determines whether the tracing facility is enabled or disabled.
TraceFlags parameter indicates the tracing level. It can take the following values:
ERROR—Indicates some failed SQL calls and communication problems.
WARNING—Triggered by anything that generates a diagnostic record.
CONFIG—Provides details of configuration calls.
INFO—Provides details of what calls are made and other important markers.
DEBUG (or number 6)—Shows the detailed contents of many calls.
TraceFile parameter indicates the name of the trace file. The trace file is a normal OSS
log file which is editable.
Enabling Tracing for OSS ODBC/MX Client Driver
To enable the tracing facility for the OSS ODBC/MX Client Driver, perform the following steps:
Stop the application.
Modify the TraceStart parameter in the ODBCDSN file to one (1).
Start the application.
Disabling Tracing for OSS ODBC/MX Client Driver
To disable the tracing facility for the OSS ODBC/MX Client Driver, perform the following steps:
Stop the application.
Modify the TraceStart parameter in the ODBCDSN file to zero (0).
Start the application.
Components of the MX Connectivity Service
To fully install all components of connectivity service, you must install the following:
ODBC/MX Server Components
OSS ODBC/MX Client Driver
SQL/MX installed on a NonStop system
Migration Considerations
The OSS ODBC/MX Client Drivers (ZODBCDLL and YODBCDLL) are dynamic libraries for OSS
applications to connect to the SQL/MX database. The user applications use the eld linker and
Tracing OSS ODBC/MX Client Driver 29