decimal field from database to sequential stage
Posted: Fri Jul 30, 2010 1:19 am
Hi,
I have to load a decimal field(14) from database(DB2) to a sequential file.
There is no change needed in length and datatype.
When i am trying to do this i am getting leading zeros and an extracharacter '_' at the end in sequential file.
For ex:
Input-100000
i am getting the o/p as - 00000000100000_
Can you guys help me to figure it out.
I have to load a decimal field(14) from database(DB2) to a sequential file.
There is no change needed in length and datatype.
When i am trying to do this i am getting leading zeros and an extracharacter '_' at the end in sequential file.
For ex:
Input-100000
i am getting the o/p as - 00000000100000_
Can you guys help me to figure it out.