| Author |
IBM Enterprise COBOL and Perform Fallthru
|
|
| lazyfox 2004-06-13, 3:55 am |
| Our shop is converting from COBOL2 (circa 1986) to Enterprise COBOL 3.2.
Quite often developers have opted for the CAPEX COBOL compiler in place of
COBOL2, but CAPEX is being retired.
Is there an IBM COBOL equivalent of the Perform Fallthru checking that CAPEX
provides? An initial review of the literature does not seem to indicate any
such feature.
Thanks,
Rick
| |
| William M. Klein 2004-06-13, 3:55 am |
| There is a TOTALLY undocumented (and unsupported) since the first release of VS
COBOL II feature that will do this.
From the original VS COBOL II "debugging manual" if you compile with OPT *and*
Place
$RNDMP FLAGS=3
starting in column 8 of the first line of your source code.
I haven't looked at the output for a few years, but I am ALMOST positive that
part of the listing will tell you what type of "perform" and paragraphs you have
(including fall-thru).
Anyone "interested" in this undocumented/unsupported feature should find a "VS
COBOL II Diagnosis Reference" manual from release 1.0 - or send me a "private"
(off-list note) and I can send you 5 pages in PDF format describing this.
--
Bill Klein
wmklein <at> ix.netcom.com
"lazyfox" <noway@spoof.com> wrote in message
news:4DNyc.13356$XY6.1459279@read2.cgocable.net...
> Our shop is converting from COBOL2 (circa 1986) to Enterprise COBOL 3.2.
> Quite often developers have opted for the CAPEX COBOL compiler in place of
> COBOL2, but CAPEX is being retired.
>
> Is there an IBM COBOL equivalent of the Perform Fallthru checking that CAPEX
> provides? An initial review of the literature does not seem to indicate any
> such feature.
>
> Thanks,
> Rick
>
>
| |
| Michael Mattias 2004-06-13, 3:55 pm |
| "William M. Klein" <wmklein@nospam.netcom.com> wrote in message
news:7ZQyc.3214$Wr.264@newsread1.news.pas.earthlink.net...
> "lazyfox" <noway@spoof.com> wrote in message
> news:4DNyc.13356$XY6.1459279@read2.cgocable.net...
CAPEX[color=darkred]
any[color=darkred]
[color=darkred]
> There is a TOTALLY undocumented (and unsupported) since the first release
of VS
> COBOL II feature that will do this....
Hate to admit it, but... I've never heard the term "Perform
Fallthru/FallThrough."
For what does a 'Perform Fallthru Check' check?
MCM
| |
| William M. Klein 2004-06-13, 8:55 pm |
| "Fallthru" or "Fall thru" is where a paragraph (or section) may be entered by
"falling" into it rather than explicitly PERFORMing or even GO TOing it. For
example:
Mainline.
Perform ABC
...
ABC.
If X = "X"
go to LMN
Else
Display "HERE"
End-IF .
LMN.
Display "Now here"
Add 1 to Z
| |
| Michael Mattias 2004-06-14, 8:55 am |
| "William M. Klein" <wmklein@nospam.netcom.com> wrote in message
news:a05zc.4002$Wr.1937@newsread1.news.pas.earthlink.net...
> "Michael Mattias" <michael.mattias@gte.net> wrote in message
> news:7MYyc.69$2J7.12@newssvr33.news.prodigy.com...
[color=darkred]
>Fallthru" or "Fall thru" is where a paragraph (or section) may be entered
by
>"falling" into it rather than explicitly PERFORMing or even GO TOing it.
For example:
Thank you, Bill.
Yecchh! This looks like something with which I should remain unfamiliar.
MCM
| |
| Richard 2004-06-15, 3:55 am |
| "lazyfox" <noway@spoof.com> wrote
> In fact a perform exit fallthru is a risk of structured programming
> techniques
It is a risk of _some_ structured programming techniques.
| |
| lazyfox 2004-06-17, 3:55 am |
| Thanks for staying on topic! :-)
"Richard" <riplin@Azonic.co.nz> wrote in message
news:217e491a.0406142258.25a8e6d@posting.google.com...
> "lazyfox" <noway@spoof.com> wrote
>
>
> It is a risk of _some_ structured programming techniques.
|
|
|
|