Re: Problem With Cobol Report Writer
- From: l.willms@xxxxxxxxxxx (Lueko Willms)
- Date: 16 Apr 2005 20:02:00 GMT
.. On 16.04.05
wrote riplin@xxxxxxxxxxxx (Richard)
on /COMP/LANG/COBOL
in 1113676699.610450.255030@xxxxxxxxxxxxxxxxxxxxxxxxxxxx
about Re: Problem With Cobol Report Writer
r> It may well be that the PROCEDURE DIVISION should be divided up into
r> SECTIONs. In fact I used to do that for the purpose of using
r> 'priorities' in order to overlay the program into the memory space
r> available to me.
This is ancient ... but has nothing to do with the SECTION as such.
I have never played around with segmentation.
r>
r> But it doesn't follow, as you seem to claim, that these SECTIONs
r> should therefore be what the PERFORMs target.
This is a questin of individual discipline or shop standards. It
just makes sense, and it made much more sense before COBOL-85 was
implemented which finally made proper programming possible in COBOL.
It is a simple rule: PERFORM only SECTIONs, never a paragraph, and
GOTO only to paragraphs, never SECTIONs.
Today, where a GOTO is superflouus even in COBOL, I see the only
sense in paragraphs to serve as a visual documentation tool.
r> After all one doesn't INITIALISE WORKING-STORAGE as a SECTION.
I don't understand what that is supposed to mean.
Yours,
Lüko Willms http://www.willms-edv.de
/--------- L.WILLMS@xxxxxxxxxxx -- Alle Rechte vorbehalten --
Der Mann hatte soviel Verstand, daß er zu fast nichts mehr in der Welt zu gebrauchen war. -G.C.Lichtenberg
.
- Follow-Ups:
- Re: Problem With Cobol Report Writer
- From: Richard
- Re: Problem With Cobol Report Writer
- References:
- Problem With Cobol Report Writer
- From: Tracy
- Re: Problem With Cobol Report Writer
- From: Lueko Willms
- Re: Problem With Cobol Report Writer
- From: Richard
- Problem With Cobol Report Writer
- Prev by Date: Re: convert packed CHAR to unpacked DIGIT
- Next by Date: OT - Religion
- Previous by thread: Re: Problem With Cobol Report Writer
- Next by thread: Re: Problem With Cobol Report Writer
- Index(es):
Relevant Pages
|