datatype conversion

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
laxmi_etl
Charter Member
Charter Member
Posts: 117
Joined: Thu Sep 28, 2006 9:10 am

datatype conversion

Post by laxmi_etl »

Hi,

My problem is like this...

One of my source fields(A) has a datatype varchar(22).
But my target table has that field as Integer(10) when I try to
convert it as interger by using the fallowing function
AsInteger(lnkdummy.A) in Transformer
it is giving Zero's instead of values 1956,1975 etc.
Is there any suggesions on this

Thanks
ganesh123
Participant
Posts: 70
Joined: Tue Feb 20, 2007 3:22 pm
Location: NJ,USA
Contact:

Post by ganesh123 »

Its helpful that when you mark the topic resolved you should also provide the solution like how you did ?

Its helpful for other users.
If women didn't exist, all the money in the world would have no meaning.
-- Aristotle Onassis
us1aslam1us
Charter Member
Charter Member
Posts: 822
Joined: Sat Sep 17, 2005 5:25 pm
Location: USA

Post by us1aslam1us »

The OP has specified the solution in the other post.
This seems to be a duplicate post. And it would have been nice if the OP had deleted this post by themselve instead of marking it resolved..
I haven't failed, I've found 10,000 ways that don't work.
Thomas Alva Edison(1847-1931)
Post Reply