how to convert decimal to hexadecimal

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
reddyamarnath
Participant
Posts: 8
Joined: Thu Jun 17, 2010 1:12 am

how to convert decimal to hexadecimal

Post by reddyamarnath »

Hi,
how to convert the decimal value to Hexadecimal values in job
reddy,amarnath
qt_ky
Premium Member
Premium Member
Posts: 2895
Joined: Wed Aug 03, 2011 6:16 am
Location: USA

Post by qt_ky »

Choose a job you love, and you will never have to work a day in your life. - Confucius
arunkumarmm
Participant
Posts: 246
Joined: Mon Jun 30, 2008 3:22 am
Location: New York
Contact:

Post by arunkumarmm »

There is a function Dtx() in server jobs but I'm not sure if that is available in Parallel. Maybe you can use a BASIC transformer and call this function.
Arun
baglasumit21
Participant
Posts: 132
Joined: Wed Mar 01, 2006 11:12 pm
Location: Pune

Re: how to convert decimal to hexadecimal

Post by baglasumit21 »

If you are inserting the data in oracle table then you can use the to_char function of oracle to convert the decimal value to hex. The same can be achieved by using a user defined query in oracle stage.

Rgds,
Sumit
SMB
Post Reply