cobol control-break question
Posted on 2000-04-12
I have a text file with6 fields
region pic x 3
section pic x 3
proj # pic x 5
type pic x 15
budget amt pic 9(9)
actual amt pic 9(9)
I have to create a report showing the following fields with thier proper
headings. also I must show a variance (+, -) showing the difference
between budget and actual amts. I am able to do this, but at the bottom of the report I must show totals for sections, and totals for regions.
When I attempt to do this I loose my calculated variance field. I know
I am doing this program incorrectly and am going nowhere. if it will
help I can e-mail my .txt file and my code.