HI..
I got the code from Manual..
SORT FIELDS=(1,23,CH,A)
SUM FIELDS=(24,4,PD,
28,4,PD,
32,4,PD,
36,4,PD,
40,4,PD,
44,4,PD)
OUTFIL OUTREC=(17:1,23,
52:24,4,PD,M2,
63:28,4,PD,M2,
74:32,4,PD,M2,
85:36,4,PD,M2,
96:40,4,PD,M2,
107:44,4,PD,M2),
HEADER2=(44:’OUTSTANDING PAYMENTS’,
73:’DATE:’,
78:&DATE,//,
17:’COMPANY’,
106:’BALANCE’,/,
67:’TAX’,
113:’TAX’,2/),
TRAILER2=(31:’TOTALS:’,
51:TOT=(24,4,PD,EDIT=($II,IIT.TT)),
62:TOT=(28,4,PD,EDIT=($II,IIT.TT)),
106:TOT=(44,4,PD,EDIT=($II,IIT.TT)))