IBM Support

Informix 32 bit ODBC setup for Microsoft Windows

Question & Answer


Question

By default, 64 bit Windows versions use a 64 bit ODBC Administrator utility. How do I install a 32 bit version of ODBC to work with IBM Informix Dynamic Server, when I am using a 64 bit Windows version?

Cause

The menu option Administrative Tools->Data Sources (ODBC), is the Windows 7 utility used to maintain ODBC data sources and drivers. The path for this ODBC administrator utility is "%windir%\system32\odbcad32.exe". Although it is referenced as "32" in the path name, it is a 64 bit administration tool. The IBM Informix 32 bit ODBC option will not be visible when using this utility.

Answer

In order to use a 32 bit ODBC driver on a 64 bit Windows machine, it has to be configured using a 32 bit ODBC Administrator which is not visible through normal Windows menu options. Utilities for 32 bit operations are found in the C:\Windows\SysWOW64 directory. As a prerequisite for a 32 bit IBM Informix CSDK installation to proceed correctly, add the SysWOW64 directory to the system path, as follows:

  1. Run 'C:\Windows\System32\control.exe system'
    • Select Advanced system settings from Control Panel Home
  2. On the System Properties Panel that appears,
    • Select: Advanced tab->Environment Variables
  3. In the System Variables window under Environment Variables,
    • Select and edit the PATH variable. Prefix the PATH list with 'C:\Windows\SysWOW64;'
Proceed with the IBM Informix CSDK product installation. The suggested install directory for 32 bit CSDK is 'C:\Program Files (x86)\IBM Informix Client SDK'.

Once the CSDK installation is completed, access the ODBC administrator utility located at 'C:\Windows\SysWOW64\odbcad32.exe'.

Now, when you access the Drivers Tab of the ODBC Administrator, the IBM Informix Driver is visible. This is the one you want to use.



At this point, you can proceed with normal configuration.

[{"Product":{"code":"SSVT2J","label":"Informix Tools"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Component":"Informix Client Software Development Kit (CSDK)","Platform":[{"code":"PF033","label":"Windows"}],"Version":"3.5;3.7;4.1","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Document Information

Modified date:
03 June 2021

UID

swg21616019