gnucobol-users
[Top][All Lists]
Advanced

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

[open-cobol-list] Minor difference of Open-Cobol and IBM MVS Cobol II co


From: David Korn
Subject: [open-cobol-list] Minor difference of Open-Cobol and IBM MVS Cobol II compiler
Date: Mon Feb 23 18:02:04 2004

cc: address@hidden
Subject: Minor difference of Open-Cobol and IBM MVS Cobol II compiler
--------

The following program compiles with the IBM compiler and yields
a parse error
prog14.cob:6: parse error, unexpected ENVIRONMENT, expecting RECURSIVE or 
COMMON or TOK_INITIAL
with OpenCobol.

======================prog14.cob=======================
       IDENTIFICATION DIVISION.
       PROGRAM-ID.   FPR2DS01
       AUTHOR.       DAVID Korn
       DATE-WRITTEN. 06/20/2003.
       DATE-COMPILED. 09/26/03.
       ENVIRONMENT DIVISION.
       CONFIGURATION SECTION.
       SOURCE-COMPUTER.                IBM-3090.
       OBJECT-COMPUTER.                IBM-3090.
======================prog14.cob=======================

A period after PROGRAM-ID.   FPR2DS01 fixes the problem but it looks
as if it is optional with the IBM compiler.

David Korn
address@hidden


reply via email to

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