Incorrect Data format when reading from a double datatype
Posted: Tue Jun 07, 2011 8:45 am
Hi,
I am reading from db2 table having column datatype of type double 8.
When i import table definitions the DataStage takes this as double 53.
When i query the table for the column i see values like
100
6.94391376623802
0.638014075806097
But when i see extracted data in a sequential file in unix i see data for
100 like this 1.00000000000000000E+02
0 like this 0.00000000000000000E+00
Help is appreciated how i get this as 100 and 0 as i see it in database.
I am reading from db2 table having column datatype of type double 8.
When i import table definitions the DataStage takes this as double 53.
When i query the table for the column i see values like
100
6.94391376623802
0.638014075806097
But when i see extracted data in a sequential file in unix i see data for
100 like this 1.00000000000000000E+02
0 like this 0.00000000000000000E+00
Help is appreciated how i get this as 100 and 0 as i see it in database.