Trailing Space At Column Value Is Omitted In Generated File When FORMATASCII Used (Doc ID 1503637.1)

Last updated on MAY 16, 2017

Applies to:

Oracle GoldenGate - Version 11.1.1.0.0 to 11.2.1.0.3 [Release 11.1.1 to 11.2]
Information in this document applies to any platform.

Symptoms

When using FORMATASCII , trailing spaces in varchar2 columns are stripped in
error.

-- table definition
create table test (no number(10) not null, name varchar2(20), addr varchar2(20));

-- data insert
insert into test values (11115,'eeee ',' eeee') ;

-- output of generated ascii file generated
B,2012-10-08:16:13:08.000000,1349680388,73,
I,A,OGGADM.TEST,NO,11115,NAME,'eeee',ADDR,' eeee', <<< trailing space has been removed
C,

Changes

This issue is only visible when FORMATASCII is used. It does not occur when a binary trail file is being used.

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