Last updated on MARCH 29, 2017
Applies to:Oracle Database - Enterprise Edition - Version 22.214.171.124 to 126.96.36.199 [Release 12.1]
Oracle Net Services - Version 188.8.131.52 to 184.108.40.206 [Release 12.1]
Information in this document applies to any platform.
You are attempting to configure a dblink from Oracle to DB2 using Database Gateway for ODBC (DG4ODBC). You have installed DB2 DBConnectior ODBC Driver and unix ODBC driver manager on your Unix system.
When attempting a query using the dblink, you receive the following error:
ERROR at line 1:
ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
[unixODBC][Driver Manager]Driver's SQLAllocHandle on SQL_HANDLE_HENV failed
ORA-02063: preceding 2 lines from JDE.WORLD
Sign In with your My Oracle Support account
Don't have a My Oracle Support account? Click to get started
Million Knowledge Articles and hundreds of Community platforms