converting binary column to text using column to import

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
s_porkalai
Participant
Posts: 38
Joined: Sun Mar 25, 2007 11:05 pm
Location: chennai

converting binary column to text using column to import

Post by s_porkalai »

hi all,

I am using column to import stage to convert binary to text. The problem is, there is some null values are in the middle of binary column. so when column import converts binary into text, it is truncating upto the last character before the null leaving remaining as blank space. so i am not getting the characters after the null in output.

is there any way to resolve this. or is there any way to convert binary data into varchar

regards
Lakshmi
thanks & Regards
A.S.Porkalai Lakshmi
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Try changing the APT_STRING_PADCHAR value so that it's not NUL.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Post Reply