gnucobol-users
[Top][All Lists]
Advanced

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

RE: [open-cobol-list] invalid VALUE clause


From: William M. Klein
Subject: RE: [open-cobol-list] invalid VALUE clause
Date: Mon Feb 9 20:52:16 2004

Why shouldn't you get an error?  If you had a "blank when zero" clause - or
didn't have the "9's" in the PICTURE, then spaces would be legal.  But I
don't think spaces are ever valid for a numeric-edited picture clause *with*
some required numeric places. 

> -----Original Message-----
> From: address@hidden 
> [mailto:address@hidden On 
> Behalf Of David Korn
> Sent: Monday, February 09, 2004 10:14 AM
> To: address@hidden; address@hidden
> Subject: [open-cobol-list] invalid VALUE clause
> 
> cc: address@hidden
> Subject: invalid VALUE clause
> --------
> 
> I am getting a compilation error, invalid VALUE clause, with 
> the following
> program:
> 
> =================cut here=====================
>        ID DIVISION.
>        PROGRAM-ID. VCAGP210.
>        ENVIRONMENT DIVISION.
>        DATA DIVISION.
>        WORKING-STORAGE SECTION.
>        01  WS-P-SUMM-HDR.
>            05  WS-P-SUMM-DETAIL-LINE.
>                10  WS-P-SUMM-DETAIL-LINE-PRINT.
>                    15  WS-P-SUMM-TOTAL  PIC Z,ZZZ,ZZ9.99 VALUE SPACES.
> =================cut here=====================
> 
> David Korn
> address@hidden
> 
> 
> -------------------------------------------------------
> The SF.Net email is sponsored by EclipseCon 2004
> Premiere Conference on Open Tools Development and Integration
> See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
> http://www.eclipsecon.org/osdn
> _______________________________________________
> 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]