gnucobol-users
[Top][All Lists]
Advanced

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

Re: [open-cobol-list] OC issues - number 6


From: Sergey Kashyrin
Subject: Re: [open-cobol-list] OC issues - number 6
Date: Wed Jan 18 12:08:26 2006

Bill,
 
The problem is not with EJECT itself. OC supports it with -std=mvs or -std=ibm
Program will compile if you remove the line
       OBJECT-COMPUTER.
This issue is really small so I'm not paying any attention.
 
----- Original Message -----
From: Bill Klein
Sent: Wednesday, January 18, 2006 2:27 PM
Subject: RE: [open-cobol-list] OC issues - number 6

Possible problems with this:
 
A) does OC claim to support EJECT and SKIP extensions yet?
 
B) If so, does OC know that the period is optional? 
 
See:
 

From: address@hidden [mailto:address@hidden On Behalf Of Sergey Kashyrin
Sent: Wednesday, January 18, 2006 12:46 PM
To: address@hidden
Subject: [open-cobol-list] OC issues - number 6

the small one:
 
       IDENTIFICATION DIVISION.
       PROGRAM-ID. ztest INITIAL.
       ENVIRONMENT DIVISION.
       CONFIGURATION SECTION.
       SOURCE-COMPUTER.
       OBJECT-COMPUTER.
       EJECT
       DATA DIVISION.
       WORKING-STORAGE SECTION.
       PROCEDURE DIVISION.
           DISPLAY 'OK'.
           GOBACK.
 
G:\bank64\src\obj>cobc -m -std=ibm ztest6.cbl
ztest6.cbl:8: Error: syntax error, unexpected DATA, expecting WORD
 

reply via email to

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