Following guidelines to be following while writing Cobol program:
>> Use ‘EVALUATE’ statement for constructing cases.
>> Use scope terminators for nesting.
>> Use in-line Perform statement for writing ‘do’ constructions.
>> Use Test Before and Test After in the Perform statement while writing Do-While statements.
Posted Date:- 2021-09-02 22:54:38
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?