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 5


From: Jose Vilmar Estacio de Souza
Subject: Re: [open-cobol-list] OC issues - number 5
Date: Wed Jan 18 11:07:17 2006

It appears in the list.
cobc --list-reserved
WITH
WORKING-STORAGE
WRITE
YYYYDDD
YYYYMMDD
ZERO
ZEROES
 
----- Original Message -----
Sent: Wednesday, January 18, 2006 4:35 PM
Subject: [open-cobol-list] OC issues - number 5

Is YYYYMMDD reserved word ?
 
       IDENTIFICATION DIVISION.
       PROGRAM-ID. ztest INITIAL.
       ENVIRONMENT DIVISION.
       DATA DIVISION.
       WORKING-STORAGE SECTION.
       01 A.
           05  YYYYMMDD                PIC 9(8).
       PROCEDURE DIVISION.
           DISPLAY 'A=' A ';'.
           GOBACK.
G:\bank64\src\obj>cobc -x ztest5.cbl
ztest5.cbl:7: Error: syntax error, unexpected YYYYMMDD, expecting EXTERNAL or GLOBAL
 


No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.375 / Virus Database: 267.14.20/233 - Release Date: 1/18/2006

reply via email to

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