gnucobol-users
[Top][All Lists]
Advanced

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

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


From: Roger While
Subject: [open-cobol-list] Re: OC issues - number 6
Date: Wed Jan 18 12:26:01 2006

The problem is nothing to do with EJECT.
This is skipped by OC.
Problem is that OC parsing of OBJECT-COMPUTER is wrong.
OC is expecting something after the OBJECT-COMPUTER phrase
whereas, if I read correctly, all params are optional (85 and 2002)
for this phrase.

Fix coming up.

Roger


       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]