My Oracle Support Banner

Goldengate Classic Replicat: Record Exceptions In Discard & Generic Exception Table (Doc ID 1590023.1)

Last updated on DECEMBER 05, 2019

Applies to:

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


Goal is to write records  both in discard file and exception table.

I want to get a customized exception table by using a macro #exception_handler

When forcing an error (e.g. inserting a row with a duplicate primary key value), the record is correctly placed into the discard file, but the exception table remains empty.

Here is an example:



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.