So, I have been playing around the Header and Trailer options in OUTFIL. From what I could gather from the manuals is, if I have to take a total amount (or sum) of my data like below with a comma
25,800 or 5,200
Then I would say in OUTFIL
TOT=(01,6,PD,M12,LENGTH=10)
which should give me the result I require.
If I have a decimal point in my data like below
66.00 or 3.55
Then I could say in OUTFIL as
TOT=(01,4,BI,EDIT=(IIIIT))
which should give me what I want
But, what if my data looks like below with a mixture of both commas and decimal points
1,100.15 or 10.00
Could you guys let me know if my required result is 1,110.15 then how can I achieve this. Do I have to reformat my data to remove the comma or decimal point ? or is there any way I would get a summation of the number with mixture of these symbols.