Incorrect results from DB2/400 query through Database Provider for DRDA 12.1 using Zoned Decimal bind variables

(Doc ID 1945758.1)

Last updated on FEBRUARY 11, 2016

Applies to:

Oracle Database Provider for DRDA - Version to [Release 12.1]
Linux x86-64


When connecting from DB2 for i (DB2/400 - iSeries) v7.1 through Oracle Database Provider for DRDA (ODP4DRDA) v12.1,
incorrect results are returned from a query when bind variables are declared as "Zoned Decimal".

When using "constant" values in query instead of bind variables declared as "Zoned Decimal", the query correctly returns all rows.

When using bind variables declared "Zoned Decimal", the query returns no rows.

This occurs when connecting from DB2 for i (DB2/400 - iSeries) v7.1 running on "IBM i on POWER Systems"
through ODP4DRDA to Oracle Database on Linux x86-64;


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