One must follow certain guidelines while writing COBOL. They are mentioned below:
Using the ‘EVALUATE’ statement for constructing cases
Using scope terminators for nesting
Using in-line Perform statement for writing ‘do’ constructions
Using Test Before and Test After in the Perform statement while writing Do-While statements
Posted Date:- 2021-09-02 22:53:19
You are writing report program with 4 levels of totals: city, state, region and country. The codes being used can be the same over the different levels, meaning a city code of 01 can be in any number of states, and the same applies to state and region code so how do you do your checking for breaks and how do you do add to each level?