Open System Services ODBC/MX Client Driver Manual for SQL/MX Release 3.2.1 (H06.26+, J06.15+)
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
dynamically link with ZODBCDLL or YODBCDLL. The 32–bit user applications link with ZODBCDLL
and 64–bit user applications link with YODBCDLL.
Accessing the ODBCDSN file through environment variable
You can specify the path from where the driver retrieves the ODBCDSN configuration file by
exporting an environment variable, DSN_PATH. The DSN_PATH variable must contain the path of
30 Configuring Client Data Source Attributes for ODBC/MX Connectivity










