Data is getting trimmed in Trunc Load of OE stage

Post questions here relative to DataStage Enterprise/PX Edition for such areas as Parallel job design, Parallel datasets, BuildOps, Wrappers, etc.

Moderators: chulett, rschirm, roy

Post Reply
parthajit
Participant
Posts: 2
Joined: Fri Jan 15, 2010 3:11 am

Data is getting trimmed in Trunc Load of OE stage

Post by parthajit »

Hi All,
I am Loading Oracle tables using Oracle Enterprise Stage. Write Method =Load and Write Mode=Truncate

Incoming Data has Trailing Space. Need to load data as it is coming from source. But in target the data is getting Trimmed. So far what I observed that, this truncation of data is only happening while Loading Data in Data base by Bulk load mode not in any othere stage.

Is there any options in Oracle Enterprise Stage, so that I can use Write Method =Load and Write Mode=Truncate and avoid this truncation


Thanks and Regards
Parthajit Chowdhury
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Set $APT_ORACLE_PRESERVE_BLANKS to true to override that default sqlldr behaviour.
-craig

"You can never have too many knives" -- Logan Nine Fingers
parthajit
Participant
Posts: 2
Joined: Fri Jan 15, 2010 3:11 am

Post by parthajit »

Thanks.... Its working
Parthajit Chowdhury
Post Reply