[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [open-cobol-list] Re: feature request: MOVE NON-INTEGER TO ALPHA-NUM
From: |
William M. Klein |
Subject: |
RE: [open-cobol-list] Re: feature request: MOVE NON-INTEGER TO ALPHA-NUMERIC (MF-EXTENSION) |
Date: |
Fri Mar 5 16:58:07 2004 |
Please see:
http://supportline.microfocus.com/supportline/documentation/books/ocds42/oc4
2indx.htm
Error messages issued by the Compiler are classed according to their
severity, as follows:
Severity
----------------------------------------------------------------------------
----
Description
----------------------------------------------------------------------------
----
Unrecoverable Indicates a fatal error
Severe Indicates an error that the Compiler was unable to correct.
Compilation continues, but the statement at fault is not compiled
Error Indicates an error that the Compiler has tried to correct
Warning Flags a statement that although is syntactically correct can
contain a possible error
Informational Draws your attention to something in your source code you
should be aware of
The Compiler returns a value to the operating system to show the most severe
type of message it issued. The possible severity and the corresponding
return values are shown in the following table:
Severity
----------------------------------------------------------------------------
----
Return Value
----------------------------------------------------------------------------
----
Unrecoverable 16
Severe 12
Error 8
Warning 4
Informational See INFORETURN directive
No messages 0"
Are you giving an 8 - return-code for this compile?
> -----Original Message-----
> From: Keisuke Nishida [mailto:address@hidden
> Sent: Friday, March 05, 2004 6:39 PM
> To: William M. Klein
> Cc: address@hidden;
> address@hidden
> Subject: Re: [open-cobol-list] Re: feature request: MOVE
> NON-INTEGER TO ALPHA-NUMERIC (MF-EXTENSION)
>
> At Fri, 5 Mar 2004 14:20:40 -0600,
> William M. Klein wrote:
> >
> > Please do NOT allow syntax that gets an E-level message to
> be considered a
> > "good compile".
>
> We compile it with a warning. As long as MF COBOL generates
> a runnable code, we should be able to compile it as well,
> given the -std=mf option is specified.
>
> Without the option, the compiler should be more standard compliant,
> and thus rejects this syntax.
>
> Keisuke
>