Exponential number 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
getsatish_gk
Participant
Posts: 104
Joined: Sat Dec 24, 2005 1:26 am
Location: Bengaluru

Exponential number conversion

Post by getsatish_gk »

Hi All,

Does Datastage recognise exponential numbers?

ie., incoming data is 9.9999999999999995e-07
and we want to recognise this in datastage and then do validation on this.

any advise or help would be appreciable
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Search the forums for 'exponent', this has been discussed before. From what I recall, it expects the 'e' to be in upper case to be recognized but a search should turn up the details.
-craig

"You can never have too many knives" -- Logan Nine Fingers
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Precision can also be an issue; there are precision limits on decimal number. In your example you will be introducing a requirement for an additional seven digits of precision (since you are multiplying by 10**-7); does your output field data type cater for that?
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