My Oracle Support Banner

IBM DB2 z/OS Extract Abended With OGG-00551 Database operation failed: TableHistoryDAO::addTable - execute. ODBC error: SQLSTATE 23505 native database error -803. [IBM][CLI Driver][DB2] SQL0803N (Doc ID 2819738.1)

Last updated on APRIL 17, 2023

Applies to:

Oracle GoldenGate - Version 19.1.0.0.0 and later
Information in this document applies to any platform.

Symptoms

IBM DB2 z/OS Extract abended with below error

Error:
2021-09-21 10:21:29 ERROR OGG-00551 Database operation failed: TableHistoryDAO::addTable - execute. ODBC error: SQLSTATE 23505 native database error -803. [IBM][CLI Driver][DB2] SQL0803N One or more values in
the INSERT statement, UPDATE statement, or foreign key update caused by a DELETE statement are not valid because the primary key, unique constraint or unique index identified by "GGSRDDLR" constrains table "000000AA0D" from
having duplicate values for the index key. SQLSTATE=23505.

There is TRACKSCHEMACHANGES in two extracts but extract is abending rather than just giving warning.

Cause

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
Symptoms
Cause
Solution


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