bug-gnucobol
[Top][All Lists]
Advanced

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

Re: [Bug-GnuCOBOL] STOP RUN with NORMAL status


From: Edward Hart
Subject: Re: [Bug-GnuCOBOL] STOP RUN with NORMAL status
Date: Mon, 18 Sep 2017 09:47:17 +0100

Thanks for reporting this, Frank. I've reproduced it and opened a ticket (https://sourceforge.net/p/open-cobol/bugs/433/).

Edward

On 17 September 2017 at 22:47, Frank Swarbrick <address@hidden> wrote:

program-id. stop-it.

 

data division.

working-storage section.

01  pic x.

    88  this value 'X'.

 

procedure division.

    if not this

        display 'normal'

        stop run with normal status 10

    else

        display 'error'

        stop run with error status 15

    end-if.

 

D:\src\cobol>cobc -x -free stopit.cob

stopit.cob: 11: error: syntax error, unexpected Identifier, expecting ERROR or NORMAL



reply via email to

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