bug-gnucobol
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [open-cobol-list] Version 1.1 Bug in File-Control ?


From: vince coen
Subject: Re: [open-cobol-list] Version 1.1 Bug in File-Control ?
Date: Thu, 21 Feb 2008 18:42:24 +0000
User-agent: KMail/1.9.6

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
>
> Essentially, OC is silent as per MF unless specific warning options
> are given.

I think this should produce a errror i.e., any dataname named but not defines 
must be reported as an error or a warning at least.

Vince.


> >I have also seen that where the name after 'assign to' was not declared as
> >a variable in WS that it was declared internally so a move "fred.txt" to
> >undeclared-name would also work.
> >Don't know about OC. Why not try it and see what happens.
> >Vince


reply via email to

[Prev in Thread] Current Thread [Next in Thread]