To configure a data source to the ODBC Informix driver
Select the General tab and enter the required information (*) for the parameters for this window, as described in the following table:
Parameter |
Description |
---|---|
*Data Source Name |
String that identifies this Informix data source configuration in the system information. Examples include “dcinfx.” |
Description |
An optional description of a data source name. |
*Host Name |
Name of the machine on which the Informix server resides. |
*Port Number |
Port number of the server listener. |
*Server Name |
Name of the Informix server as it appears on the sqlhost file. |
*Database Name |
Name of the database to which you want to connect by default. |
User Name |
User name as specified on the Informix server. |
WorkArounds (optional) |
Name of the WorkArounds string key to support DirectConnect bulk transfers. The value is 536870912. To add the WorkArounds string key, refer to “To add the WorkArounds String Key”. |
Click Apply. At this point, you can click Test Connect. If the connection fails, check your connectivity parameters for accuracy.
Click the Advanced tab to display the Advanced Driver Settings dialog box, where you can configure additional, optional settings for the data source.
Specify values for the Application Using Threads to On.
See “Descriptions of data source parameters” for detailed descriptions of the parameters.
Click OK to make the values you entered become the defaults when you connect to the data source. To change these defaults, use this procedure to reconfigure the data source.
The following table provides descriptions of parameters that you can provide in the ODBC Administrator windows. The required parameters are identified by an (*).
For DirectConnect for Informix only, you need to verify that a special string key is defined in the Windows Registry, to allow the driver to support DirectConnect bulk transfers.
WARNING! Be cautious when using regedit.exe or regedt32.exe, you can disable your machine. Make a backup of your Registry before making any changes.
To add the WorkArounds String Key
Using the Windows Registry editor (regedit.exe or regedt32.exe), open one of the following sections in the Registry:
For User DSN: HKEY_CURRENT_USER \SOFTWARE\ODBC\ODBC.INI
For System DSN: HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBC.INI
In this section, locate an entry for the DSN you created.
If the WorkArounds string key is not there, select Edit | New | String Value from the Edit menu, to add a String Value named WorkArounds (case sensitive). After it has been created, modify the new entity and give it a value of 536870912.
Click OK.
Repeat this process for each Informix DSN that you are going to use with DirectConnect.
Copyright © 2005. Sybase Inc. All rights reserved. |