what is -NaNq

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
tanaya.deshpande@tieto.co
Participant
Posts: 94
Joined: Sun Jul 18, 2010 11:35 pm

what is -NaNq

Post by tanaya.deshpande@tieto.co »

I am calculating a column like this (var1/var2)* 100 its result is coming as -NaNq ...but values of var1 and var2 are coming valid

what is -NaNq how can i eliminate it
tanaya.deshpande@tieto.co
Participant
Posts: 94
Joined: Sun Jul 18, 2010 11:35 pm

Post by tanaya.deshpande@tieto.co »

the datatype of the column is double
tanaya.deshpande@tieto.co
Participant
Posts: 94
Joined: Sun Jul 18, 2010 11:35 pm

Post by tanaya.deshpande@tieto.co »

I am also getting Inf is it because the value coiming is too large to be accepted by the datatype
priyadharsini
Participant
Posts: 40
Joined: Mon May 11, 2009 12:19 am
Location: Madurai

Post by priyadharsini »

could you paste the warning message you are getting in the log and also some sample input and output data?
tanaya.deshpande@tieto.co
Participant
Posts: 94
Joined: Sun Jul 18, 2010 11:35 pm

Post by tanaya.deshpande@tieto.co »

there are no warnings generated
synsog
Premium Member
Premium Member
Posts: 232
Joined: Sun Aug 01, 2010 11:01 pm
Location: Pune

what is -NaNq

Post by synsog »

NaN stands for Not a Number...check your data ..
Post Reply