My Oracle Support Banner

Ora-2080 Database Link Is In Use - Closing a Database Link When Using TG4DB2 From a PRO*C Program (Doc ID 392335.1)

Last updated on JULY 16, 2019

Applies to:

Precompilers - Version to
Oracle Database Gateway for DB2 - Version 8.0 to 10.2
Information in this document applies to any platform.
***Checked for relevance on 07-Apr-2008***
***Checked for relevance on02-Jan-2014***
Oracle Transparent Gateway for DB2 - Version: 8.0 to 10.2



Error ora-2080 is raised when closing a Database link to a DB2 database from a PRO*C program using Transparent Gateway for DB2 (TG4DB2) :

    ORA-02080: database link is in use

COMMIT/ROLLBACK statement was executed successfully. 
V$OPEN_CURSOR shows cursors open after commit.


To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document

This document is being delivered to you via Oracle Support's Rapid Visibility (RaV) process and therefore has not been subject to an independent technical review.
My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.