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-03 05: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?