Joined: 05 Dec 2006 Posts: 164 Location: Seattle, WA
I've been assigned some maintenance work on a very old COBOL program that has the SECTION statement in the Procedure Division and had a few questions about this as the manual isn't very extensive on the topic.
If I remember my classes from 25 years ago correctly, the Section is made up of one or more paragraphs and can they be performed in toto by performing the Section name. In the code below, the Perform statement will perform both paragraphs under S001 until it reaches S002.
Can individual paragraphs within in a Section be performed by themselves, such as Perform S001a-PARA-1A?
The end of a section is either another section or the end of the program, right?