From MS Access An Update Using TG4DB2 Gives The Error - Ora-2070 Database X Does Not Support Sys_op_c2c In This Context (Doc ID 566908.1)

Last updated on JANUARY 19, 2017

Applies to:

Oracle Database - Enterprise Edition - Version 9.2.0.1 to 10.2.0.4 [Release 9.2 to 10.2]
Oracle Database Gateway for DB2 - Version 10.1 to 10.2
Oracle ODBC Driver - Version 10.1.0.2 and later
Information in this document applies to any platform.
Oracle Transparent Gateway for DB2 - Version: 10.1 to 10.2


Symptoms

The configuration is -

Microsoft Access on Windows
Oracle ODBC driver 10.2.0.3.0
RDBMS 10.2.0.3 on AIX
TG4DB2 10.1 or 10.2 on z/OS
IBM DB2  V8 on z/OS - with Unicode character set

A view is created in Oracle for a table in DB2 using TG4DB2.
A select from or an insert into the DB2 table from Access via the view and gateway works successfully.
An update of the table from Access gives the following error -

[Oracle][ODBC][Ora]ORA-02070: database <database_name> does not support SYS_OP_C2C in this context

where

<database_name>

is the name of the database link used to connect to the TG4DB2 gateway.
The same table in DB2 can be updated successfully from SQL*Plus using the same database link.


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