Decimal Data Changed to Zero
Posted: Fri Aug 29, 2014 1:56 pm
I am Taking Data from flatfile and loading to sequentual file. In flat file it is just a single column which I am dividing into many columns based on requirment. In one case i have to pick data from 21st to 25th char of source file and have to save it as decimal in target.
For Example, the data is '+2014' i need to store it as decimal. So I created a Decimal column and saved 21st to 25th char of source file in that column. but the data is getting saved as '00000.' instead of '2014.' or '02014.'.
Please help me. Please let me know what am I doing wrong here?
For Example, the data is '+2014' i need to store it as decimal. So I created a Decimal column and saved 21st to 25th char of source file in that column. but the data is getting saved as '00000.' instead of '2014.' or '02014.'.
Please help me. Please let me know what am I doing wrong here?