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

Last updated on AUGUST 15, 2017

Applies to:

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

Symptoms

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:

 

Cause

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 hundreds of Community platforms