[unixODBC-support] unixODBC with DB2 64bit Driver on AIX 5.3
nick.gorham at easysoft.com
Mon May 11 16:08:20 BST 2009
>I can get the unixODBC-2.2.15pre to work with the
>v9.5fp3b_aix64_odbc_cli.tar.gz driver if I change
>the DRV_SQLHANDLE and DRV_SQLHDESC #defines in drivermanager.h to:
>#define DRV_SQLHANDLE SQLINTEGER
>#define DRV_SQLHDESC SQLINTEGER
>and rebuild unixODBC-2.2.15pre but then that build fails to work with the
>Oracle (and other) ODBC driver on AIX (kind of defeats the purpose of using
>This sure does looks like the same problem that existed in DB2 UDB v8
>pre-FixPak 11 (See http://www-01.ibm.com/support/docview.wss?uid=swg21238279
>) and it's kind of surprising that it should resurface like this in 9.5.
>I assume that there is no recourse other then to report this to IBM so that
>they can build and release a similar work-around for the latest 9.5 FixPak
>Thanks for your insight.
Oh well. As you have seen, I added DRV_SQLHANDLE to allow the app and
driver handles to differ, but it affects all drivers, so not much help
in your case.
I guess it would be possible to code around it, but its a huge amount of
work to handle what IBM admitted in the past was a broken driver.
More information about the unixODBC-support