bug-gnucobol
[Top][All Lists]
Advanced

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

[Bug-GnuCOBOL] STOP RUN with NORMAL status


From: Frank Swarbrick
Subject: [Bug-GnuCOBOL] STOP RUN with NORMAL status
Date: Sun, 17 Sep 2017 15:47:57 -0600

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]