[vcf-midatlantic] COBOL wise-guy

Bill Degnan billdegnan at gmail.com
Tue Apr 14 14:59:50 EDT 2020


On Tue, Apr 14, 2020 at 1:56 PM Jeffrey Jonas via vcf-midatlantic <
vcf-midatlantic at lists.vcfed.org> wrote:

> Bill Degnan posted
> Q.  State the four divisions of a COBOL program
>
> A: earth air fire water: the 4 elements that make everything :-)
>

Close.

A.  (if you look at the code you see the "bugs" ( * ) asterisk characters
that have these sections like headers sort of.  Anyway, here is what I have:

Identification Division:  to identify the program, author, and state
remarks.

Environment Division:  identifies within the configuration section the type
of comuter used within the input-output section;  the files which are
accessed.

Data Division:  identifies the record layouts of the files and any other
data elements used within the program.

Procedure Division:  Contains the logic of the program.

Bill

P.S.  This is a vintage computer club.  I would think there is at least one
COBOL guru here?  I barely know anything other than running jobs TSO/JCL.
By the time I worked at DuPont, the only professional COBOL environment I
worked and everything was in production, we used to make changes to
existing code.


More information about the vcf-midatlantic mailing list