Is it always possible to write a COBOL program using only 1 sentence per paragraph?



I'm trying to write a program that reformats the structure of a given
COBOL program. One of the transformations I'd like to apply is to try to
eliminate as many periods as possibles, using the END-whatever (END-IF,
END-CALL, END-COMPUTE, etc.) constructs.

My question is, is it always possible to do this? I don't want to
"cheat" by adding new paragraph names at the beginning of every sentence
(which may affect PERFORM statements anyway). My theory is that yes, it is
always possible, but I haven't been programming in COBOL for that long, so I
wasn't sure.

- Oliver Wong



.



Relevant Pages