Data Truncation problem

Post questions here relative to DataStage Server Edition for such areas as Server job design, DS Basic, Routines, Job Sequences, etc.

Moderators: chulett, rschirm, roy

Post Reply
reddy
Premium Member
Premium Member
Posts: 168
Joined: Tue Dec 07, 2004 12:54 pm

Data Truncation problem

Post by reddy »

Hi Guys,
Good morning.
I am getting data truncation problem.In the source Oracle table column defined as a long varchar but when i used it as varchar in datastage with max length it is telling data truncated.
Please advice me how to handle long varchar data.
Thanks in advance
Reddy
bmnaidu
Charter Member
Charter Member
Posts: 16
Joined: Wed Jun 07, 2006 5:49 am

Post by bmnaidu »

Mr Reddy,
Why don't you try LongVarChar in DS? Hope this can solve your problem.
Thanks and Regards
NAIDU BUDDHA
DSguru2B
Charter Member
Charter Member
Posts: 6854
Joined: Wed Feb 09, 2005 3:44 pm
Location: Houston, TX

Post by DSguru2B »

What is your target. WHat the length in your source and target?
Creativity is allowing yourself to make mistakes. Art is knowing which ones to keep.
reddy
Premium Member
Premium Member
Posts: 168
Joined: Tue Dec 07, 2004 12:54 pm

Post by reddy »

Thanks for your quick responses.
Source and target both are Oracle.
In the source for a particular column they defined it as long varchar but when i used same matadata i am getting "OCI_INVALID_HANDLE" error but when i changed the column data type to varchar data truncation problem happening.

Please advice me.

Thanks
Narasa
DSguru2B
Charter Member
Charter Member
Posts: 6854
Joined: Wed Feb 09, 2005 3:44 pm
Location: Houston, TX

Post by DSguru2B »

I want to know the length number of the source and target. Obviously your target length is smaller than your source. You need to either handle that or ask your dba to increase the length of that particular column.
Creativity is allowing yourself to make mistakes. Art is knowing which ones to keep.
Post Reply