Open System Services ODBC/MX Client Driver (SQL/MX 2.x)

Configuring Client Data Source Attributes for
ODBC/MX Connectivity
HP NonStop Open System Services ODBC/MX Client Driver544990-002
2-7
Adding New Data Sources
Adding New Data Sources
To add a new data source entry in the ODBCDSN file, include the data source name
and its description. If the values of the parameters are not specified in the ODBCDSN
file, the OSS ODBC/MX Client Driver uses default values when creating a connection.
Modifying Data Sources
To modify a data source entry, complete the following steps:
1. Modify the ODBCDSN file.
2. Restart the application to reflect the modified changes.
Removing Data Sources
To remove a data source entry, complete the following steps:
1. Edit the ODBCDSN file to remove the data source and its values and save the file.
2. Restart the application to reflect the edited changes.
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.
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.
Note. It is mandatory to restart the application to view the modified changes in the
ODBCDSN file.
Note. It is mandatory to restart the application to view the edited changes in the
ODBCDSN file.
Note.
To turn tracing on or off, modify the ODBCDSN file accordingly and restart
the application.