My Oracle Support Banner

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 to [Release 9.2 to 10.2]
Oracle Database Gateway for DB2 - Version 10.1 to 10.2
Oracle ODBC Driver - Version and later
Information in this document applies to any platform.
Oracle Transparent Gateway for DB2 - Version: 10.1 to 10.2


The configuration is -

Microsoft Access on Windows
Oracle ODBC driver
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



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.


To view full details, 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 a vibrant support community of peers and Oracle experts.