ORA-28500: Connection From ORACLE To A Non-Oracle System Returned This Message: (Doc ID 2215717.1)

Last updated on MARCH 29, 2017

Applies to:

Oracle Database - Enterprise Edition - Version 12.1.0.2 to 12.1.0.2 [Release 12.1]
Oracle Net Services - Version 12.1.0.2 to 12.1.0.2 [Release 12.1]
Information in this document applies to any platform.

Symptoms

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
{IM004}
ORA-02063: preceding 2 lines from JDE.WORLD

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms