ORA-28511 With DG4ODBC And iSeriesAccess ODBC Driver When Executing PL/SQL (Doc ID 1051996.1)

Last updated on JANUARY 18, 2017

Applies to:

Oracle Database - Enterprise Edition - Version 11.2.0.2 to 12.1.0.2 [Release 11.2 to 12.1]
Information in this document applies to any platform.
***Checked for relevance on 05-Oct-2012***

Symptoms

Using DG4ODBC 11.2 to select data from DB2/AS400 with iSeriesAccess ODBC driver , several rows are uncorrect, like corrupted:
column data are missing or data are not correct

Using HS_FDS_SQLLEN_INTERPRETATION=64 solves the problem (See <<Note 554409.1 >>) but when executing  PL/SQL code, this error is encountered:

SQL> exec pkg_testcase.testcase_error(20091001)
BEGIN pkg_testcase.testcase_error(20091001); END;

*
ERROR en línea 1:
ORA-02068: following severe error from DGODBC2
ORA-28511: lost RPC connection to heterogeneous remote agent using
SID=(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(Host=myserver)
(Port=1522)))(CONNECT_DATA=(SID=DGODBC2)))
ORA-06512: en "PLAOWNER.PKG_TESTCASE", línea 9
ORA-06512: in líne 1

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