[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[open-cobol-list] IS "PIC -.99999999E-99" invalid picture string for Ope
From: |
henry wang |
Subject: |
[open-cobol-list] IS "PIC -.99999999E-99" invalid picture string for OpenCOBOL? |
Date: |
Mon Nov 7 14:31:58 2005 |
Hi OpenCOBOL developers,
I use a float variable. This COBOL program can be
compiled with Fujitsu COBOL, but with OpenCOBOL there
is compiling error for "04 FM0009-M PIC
-.99999999E-99. "
test3.cob:7: Error: invalid picture string
How can I work it around?
Or may be it will be supported later?
Kind regards,
Henry
p.s. ----- test3.cob ------
IDENTIFICATION DIVISION.
PROGRAM-ID. test3.
DATA DIVISION.
WORKING-STORAGE SECTION.
01 SYS-MISC-AREA.
03 FM0009.
04 FM0009-M PIC -.99999999E-99.
03 FI0009 VALUE ZERO USAGE COMP-1.
03 FM0010.
04 FM0010-M PIC -.9999999999999999E-99.
03 FI0010 VALUE
ZERO
USAGE COMP-2.
PROCEDURE DIVISION.
DISPLAY "TEST3" .
STOP RUN.
------- end of test3.cob ------
linux:/usr/open-cobol-0.33/cobc # cobc test3.cob -free
test3.cob:19: Warning: file unterminated by a newline
test3.cob:7: Error: invalid picture string
test3.cob:10: Error: invalid picture string
__________________________________
Yahoo! Mail - PC Magazine Editors' Choice 2005
http://mail.yahoo.com
- [open-cobol-list] IS "PIC -.99999999E-99" invalid picture string for OpenCOBOL?,
henry wang <=