Errors Using Generic Connectivity to Connect to DB2 on AS400 - ORA-28500, SQL State:S1000, SQL Code: -7008

(Doc ID 295041.1)

Last updated on JANUARY 19, 2017

Applies to:

Oracle Database - Enterprise Edition - Version 11.1.0.6 to 11.2.0.2 [Release 11.1 to 11.2]
Information in this document applies to any platform.
***Checked for relevance on 05-Feb-2013***

***Checked for relevance on 08-FEB-2010***


Symptoms

Using generic connectivity and the IBM iSeries ODBC driver to select data from DB2 running on an AS400 gives the error -

ERROR:
ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
[Generic Connectivity Using ODBC][unixODBC][IBM][iSeries Access ODBC
Driver][DB2 UDB]SQL7008 - <table-name> in <library-name> not valid for operation. (SQL State:S1000; SQL Code: -7008)
ORA-02063: preceding 2 lines from database_link_name

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