gnucobol-users
[Top][All Lists]
Advanced

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

Re: [open-cobol-list] Minor difference of Open-Cobol and IBM MVS Cobol I


From: Bill KLein
Subject: Re: [open-cobol-list] Minor difference of Open-Cobol and IBM MVS Cobol II compiler
Date: Mon Feb 23 19:47:02 2004

See:
 http://publibfp.boulder.ibm.com/cgi-bin/bookmgr/BOOKS/igy3lr10/APPENDIX1.1 

which says (in part),

"An optional separator period following PROGRAM-ID, AUTHOR, INSTALLATION, 
DATE-WRITTEN,   DATE-COMPILED, and SECURITY paragraph headers 
[Standard COBOL requires a period following       PROGRAM-ID.]    

To save repeated notes like this - you mighw ant to "document" exactly which of 
these extensios are already in OpenCOBOL - and which are not.                   
          

-----Original Message-----
From: David Korn <address@hidden>
Sent: Feb 23, 2004 6:01 PM
To: address@hidden, address@hidden
Subject: [open-cobol-list] Minor difference of Open-Cobol and IBM MVS Cobol II 
compiler

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


-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
open-cobol-list mailing list
address@hidden
https://lists.sourceforge.net/lists/listinfo/open-cobol-list





reply via email to

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