Joined: 09 Mar 2011 Posts: 7312 Location: Inside the Matrix
And what problem are you having? From your sample data, your file is in sequence already, so how are you thinking of using SUM?
You need to temporarily extend your records in INREC to contain a numeric representation of your value, and then use OUTFIL reporting featuers, REMOVECC, NODETAIL, and SECTIONS (for your key) with TRAILER3 using TOT/TOTAL.
You seem to have a regular number of decimal places, so you just need a data-format which will remove the non-numeric characters for you, converting to PD, for instance.
For your output, it looks like you'll need an EDIT, as you'll want the commas and actual decimal-points.