On Thursday 21 February 2008 01:42:24 pm vince coen wrote:
> Hi;
>
> On Thursday 21 Feb 2008, Roger While wrote:
> > Indeed, it is defined internally which is what MF does.
> > You will get a warning if you specify "-Wall" when compiling -
> >
> > # cobc -Wall -free mffile.cob
> > mffile.cob:2: Warning: AUTHOR is obsolete in OpenCOBOL
> > mffile.cob:3: Warning: DATE-COMPILED is obsolete in OpenCOBOL
> > mffile.cob:20: Warning: DATA RECORDS is obsolete in OpenCOBOL
> > mffile.cob:28: Warning: 'INFILE-FILE-NAME' will be implicitly defined
> >
Way back in COBOL 74 or so the butchery of the names in IDENTIFICATION
DIVISION began, staring with the most useful one, REMARKS. I use the original
names of course but I always comment out the lines on which they occur. I
hadn't noticed that DATA RECORDS had fallen also.
DATE-COMPILED is no longer needed. For AUTHOR, INSTALLATION, SECURITY, REMARKS
etc. I just comment those lines. You could put the DATA RECORDS statement
and
its keywords on a separate line and comment it also.