Type conversion functions

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
badri
Participant
Posts: 19
Joined: Mon Jul 12, 2004 2:58 am

Type conversion functions

Post by badri »

Hi,

I would like to know if there is any function to convert from

1. double to decimal
2. double to char

Regards,
:)
Amos.Rosmarin
Premium Member
Premium Member
Posts: 385
Joined: Tue Oct 07, 2003 4:55 am

Post by Amos.Rosmarin »

It is a server job or PX ?

For server jobs it's almost transparent, but you can use fmt or the oconv functions. depends of what you want to do.

For PX you have built in casting functions, just look at the help.


HTH
Amos
Post Reply