Error loading Teradata Decimal column

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
wfis
Premium Member
Premium Member
Posts: 70
Joined: Wed Feb 28, 2007 2:38 am
Location: India

Error loading Teradata Decimal column

Post by wfis »

Hi,
I'm trying to load a teradata table using Enterprise stage.Source is a dataset. Mode Write Truncate.
While loading, the job aborts due to Datatype mismatch for column A, where col A is Decimal[20,0] both in source dataset as well as in Teradata target table.
I read around some forums that Teradata has problem in handling decimal fields greater than len 18. So i reduced the target field length to 18 in Enterprise stage. The job runs but throws numerous warnings for 'possible truncation.value is too large for destination field.

Interesting part is, there are sample records in the table and when i dumped them in a dataset and tried loading the same recs into table, i got the same type mismatch error.
Any help will be greatly appreciated.
Thanks.
hamzaqk
Participant
Posts: 249
Joined: Tue Apr 17, 2007 5:50 am
Location: islamabad

Post by hamzaqk »

i would take your source is oracle ?
wfis
Premium Member
Premium Member
Posts: 70
Joined: Wed Feb 28, 2007 2:38 am
Location: India

Post by wfis »

hamzaqk wrote:i would take your source is oracle ?
Well, its a flat file being sourced from Mainframe DB2.

-thnx
Post Reply