Long numbers distorted by DS
Posted: Sun Apr 04, 2004 7:45 am
Hi All,
I have a problem with numbers having more then 15 digits.
I have a decimal(20) definition and a number totaling 16 digits or more.
as a test case (for whom ever wants to try this), I built a transformer that generats 1 row with a 14-20 digits long numbers as columns, then passes them thru a transformer (doing nothing) and outputting the row to a sequential file, all numbers with more then 15 digits get their least segnificant digits turned to zeros, depending on the length of the number (i.e: 1234567890123456 turns to 1234567890123450, a 17 digit number would have it's 2 least segnificant digit turned to zeros and so on)
I found the EXACTNUMERIC configuration parameter in the uvconfig file that has the default value of 15 and max value of 57 and set it to 30 + stop DS + uvregen + start DS + recompile job + rerun job but still same behaviour
.
Does anyone have any idea on resolving this?
I would like to know if this is only on my platform or do others have the same behaviour.
Thanks in Advance,
I have a problem with numbers having more then 15 digits.
I have a decimal(20) definition and a number totaling 16 digits or more.
as a test case (for whom ever wants to try this), I built a transformer that generats 1 row with a 14-20 digits long numbers as columns, then passes them thru a transformer (doing nothing) and outputting the row to a sequential file, all numbers with more then 15 digits get their least segnificant digits turned to zeros, depending on the length of the number (i.e: 1234567890123456 turns to 1234567890123450, a 17 digit number would have it's 2 least segnificant digit turned to zeros and so on)
I found the EXACTNUMERIC configuration parameter in the uvconfig file that has the default value of 15 and max value of 57 and set it to 30 + stop DS + uvregen + start DS + recompile job + rerun job but still same behaviour
![Sad :(](./images/smilies/icon_sad.gif)
Does anyone have any idea on resolving this?
I would like to know if this is only on my platform or do others have the same behaviour.
Thanks in Advance,