Is it always possible to write a COBOL program using only 1 sentence per paragraph?
- From: "Oliver Wong" <owong@xxxxxxxxxxxxxx>
- Date: Mon, 11 Jul 2005 15:41:16 GMT
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
.
- Follow-Ups:
- Re: Is it always possible to write a COBOL program using only 1 sentence per paragraph?
- From: William M. Klein
- Re: Is it always possible to write a COBOL program using only 1 sentence per paragraph?
- From: Howard Brazee
- Re: Is it always possible to write a COBOL program using only 1 sentence per paragraph?
- From: HeyBub
- Re: Is it always possible to write a COBOL program using only 1 sentence per paragraph?
- From: Howard Brazee
- Re: Is it always possible to write a COBOL program using only 1 sentence per paragraph?
- From: Frederico Fonseca
- Re: Is it always possible to write a COBOL program using only 1 sentence per paragraph?
- Prev by Date: Re: Are there any Pro*Cobol experts in here?
- Next by Date: Re: Is it always possible to write a COBOL program using only 1 sentence per paragraph?
- Previous by thread: Cobol-Analyzer z/OS only
- Next by thread: Re: Is it always possible to write a COBOL program using only 1 sentence per paragraph?
- Index(es):
Relevant Pages
|
|