gnucobol-users
[Top][All Lists]
Advanced

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

RE: [open-cobol-list] Compiler modifications


From: Bill Klein
Subject: RE: [open-cobol-list] Compiler modifications
Date: Wed May 31 14:08:09 2006

Some comments (see below) 

        ***
         

        1) This works on MF, but creates on OC an error: "Error: PERFORM
statement not terminated by END-PERFORM"

      PERFORM VARYING I FROM 1 BY 1 UNTIL I > 10
          COMPUTE TOTAL = TOTAL + 1.
         DISPLAY 'TOTAL=' TOTAL

>>> Micro Focus has a documented extension that the "END-PERFORM" on an
inline perform is optional.  This causes some SERIOUS problems (when the
inline perform is nested within another statement).  I recommend AGAINST
implementing this

<snip>

        3) READ PREVIOUS is not implemented

>>> This is processor dependent in the '02 Standard (and an MF extension for
'85). It goes along with START LESS and has lots of implications.
         

        4) OPEN I-O a non existing file makes ERROR 35, on MF, it creates an
empty file.

>>> This is REQUIRED by '85 Standard (but be careful as IBM mainframe people
use NOCBLQDA to AVOID this behavior)     

        7) Comments on MF can have a "*" in col 1-6

 >>> Only when the MFCOMMENT directive is turned on      





reply via email to

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