[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[open-cobol-list] Re: Minor difference of Open-Cobol and IBM MVS Cobol I
From: |
Keisuke Nishida |
Subject: |
[open-cobol-list] Re: Minor difference of Open-Cobol and IBM MVS Cobol II compiler |
Date: |
Tue Feb 24 03:55:09 2004 |
User-agent: |
Wanderlust/2.10.0 (Venus) SEMI/1.14.3 (Ushinoya) FLIM/1.14.3 (UnebigoryĆmae) APEL/10.3 Emacs/21.2 (i386-redhat-linux-gnu) MULE/5.0 (SAKAKI) |
At Mon, 23 Feb 2004 21:01:15 -0500 (EST),
David Korn wrote:
>
> 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.
Fixed. Thanks.
Keisuke