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

RE: gnubol: IBM flags nested conditionals as error (RC=8) but recovers OK



Oh boy,
 PLEASE don't try and match what IBM does for E-level errors.  The following
is what IBM says about E-level compiler errors,

"An error-level message indicates a condition that is definitely an error.
The compiler has attempted to correct the error but the results of program
execution might not be what you expect.  You should correct the error."

See:

http://www.s390.ibm.com/bookmgr-cgi/bookmgr.cmd/BOOKS/IGYPG204/2%2e1%2e7%2e1%
2e2

If you start trying to match their "error recovery" for E-level messages, you
are going to find life VERY difficult.

Bill Klein
  wmklein <at> ix.netcom.com

> -----Original Message-----
> From: owner-gnu-cobol@wallace.lusars.net
> [mailto:owner-gnu-cobol@wallace.lusars.net]On Behalf Of Michael McKernan
> Sent: Monday, December 06, 1999 7:44 AM
> To: gnu-cobol@lusars.net
> Cc: mck@tivoli.mv.com
> Subject: Re: gnubol: IBM flags nested conditionals as error (RC=8) but
> recovers OK
>
>
> >>>>> "Tim" == Tim Josling <TIMJOSLING@prodigy.net>
> >>>>> wrote the following on Mon, 06 Dec 1999 22:49:18 +1000
>
>   Tim> Here it is (compilations only). To me this means it is not an
>   Tim> extension but good error recovery. Note in the second listing,
>   Tim> the not size error binds to the inner add.
>
>   Tim> Tim Josling
>
> Excellent, Tim.  We now have three compilers that give hard errors,
> two that accept without warnings and the important one that issues a
> severe warning but generates code.  That seems to clear up what the
> IBM doc that Bob cited was saying.  I think the IBM method sounds
> like good policy.
>
>
>
> --
> This message was sent through the gnu-cobol mailing list.  To
> remove yourself
> from this mailing list, send a message to majordomo@lusars.net with the
> words "unsubscribe gnu-cobol" in the message body.  For more information on
> the GNU COBOL project, send mail to gnu-cobol-owner@lusars.net.


--
This message was sent through the gnu-cobol mailing list.  To remove yourself
from this mailing list, send a message to majordomo@lusars.net with the
words "unsubscribe gnu-cobol" in the message body.  For more information on
the GNU COBOL project, send mail to gnu-cobol-owner@lusars.net.