Product specifications

5.5.2 To create a generic ODBC3 connection
The following procedure shows how to configure a generic ODBC connection to a database with the
following assumptions:
The driver is ODBC3
The driver supports the unixODBC driver manager
1.
Navigate to the directory that contains the odbc.sbo and odbc.prm files.
The configuration files are located in the connectionserver-install-dir/connectionServ
er/odbc directory.
2.
Use an XML editor to open the odbc.sbo file for editing.
3.
Locate the following section:
<DataBases>
<DataBase Active="Yes" Name="Generic ODBC3 datasource">
<Libraries>
...
<Library Platform="Unix">dbd_wddodbc3</Library>
<Library Platform="Unix">dbd_ddodbc3</Library>
<!--Library Platform="Unix">dbd_wuxodbc3</Library-->
<!--Library Platform="Unix">dbd_uxodbc3</Library-->
<!--Library Platform="Unix64">dbd_wux32odbc3</Library-->
<!--Library Platform="Unix64">dbd_ux32odbc3</Library-->
</Libraries>
<Parameter Name="Charset Table" Platform="Unix">datadirect</Parameter>
...
</DataBases>
4.
Comment the first two rows for DataDirect and uncomment one of the next four rows. Make sure
you put the row you uncomment on top of the section, so that it can be read first. Comment out the
<Parameter name="CharSet Table" Platform="Unix"> element.
Note:
dbd_wddodbc3 specifies the DataDirect-based ODBC3 Unicode driver
dbd_ddodbc3 specifies the DataDirect-based ODBC3 non-Unicode driver
dbd_wuxodbc3 specifies the unixODBC-based ODBC3 Unicode driver
dbd_uxodbc3 specifies the unixODBC-based ODBC3 non-Unicode driver
dbd_wux32odbc3 specifies the unixODBC-based ODBC3 Unicode driver with 32-bit API rather
than 64-bit (available only on 64-bit platforms)
dbd_ux32odbc3 specifies the unixODBC-based ODBC3 non-Unicode driver with 32-bit API
rather than 64-bit (available only on 64-bit platforms)
5.
Save and close the odbc.sbo file.
6.
Use an XML editor to open the odbc.prm file for editing.
7.
Add or update any information specific to the database.
Note:
The odbc.prm file may not contain information about specific functions of the database.
8.
Save and close the odbc.prm file.
2012-03-1561
Creating a connection