Re: newbie question on cobol syntax
- From: "William M. Klein" <wmklein@xxxxxxxxxxxxxxxxx>
- Date: Mon, 23 Apr 2007 15:38:17 GMT
Actually,
If you have code that compiled with "FCOBOL" - or even with OS/VS COBOL and
you NOW are using the newer (IBM) compilers, then changing every NEXT SENTENCE
to CONTINUE should never change the logic flow.
The only time that there is a "difference in logic flow" is when you MIX old
COBOL (with NEXT SENTENCE) *with* scope terminators (END-IF or whatever).
Therefore, if you are worried about "base of code" BUT are using newer compiler,
then feel "safe" in changing NEXT SENTENCE to CONTINUE.
Of course as "your - not my - sainted mother" is reported to have said <G> such
changes are rarely requested by those who sign your paychecks.
--
Bill Klein
wmklein <at> ix.netcom.com
<docdwarf@xxxxxxxxx> wrote in message news:f0ijf7$9ig$1@xxxxxxxxxxxxxxxxxxxx
In article <1hhp23lrbejcmn16429hp0pthh40pmn5fn@xxxxxxx>,
Howard Brazee <howard@xxxxxxxxxx> wrote:
[snip]
I see no advantage in ever using NEXT SENTENCE now that CONTINUE is
available.
I'm not sure how you intend 'using' to be interpreted here, Mr Brazee...
but I've run across a bit of the 'installed base' that requires NEXT
SENTENCE to be compiled and executed in the same manner as it was when the
code was first written in FCOBOL.
DD
.
- Follow-Ups:
- Re: newbie question on cobol syntax
- From: James J. Gavan
- Re: newbie question on cobol syntax
- From:
- Re: newbie question on cobol syntax
- From: Howard Brazee
- Re: newbie question on cobol syntax
- References:
- newbie question on cobol syntax
- From: Mayer
- Re: newbie question on cobol syntax
- From: William M. Klein
- Re: newbie question on cobol syntax
- From: Howard Brazee
- Re: newbie question on cobol syntax
- From:
- newbie question on cobol syntax
- Prev by Date: Re: newbie question on cobol syntax
- Next by Date: Re: newbie question on cobol syntax
- Previous by thread: Re: newbie question on cobol syntax
- Next by thread: Re: newbie question on cobol syntax
- Index(es):
Relevant Pages
|