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 AUGUST 31, 2023

Applies to:

Precompilers - Version to
Oracle Database Gateway for DB2 - Version 8.0 to 10.2
Information in this document applies to any platform. *** ***
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

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.