[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [open-cobol-list] possibly bug: accept into numeric field
From: |
Keisuke Nishida |
Subject: |
Re: [open-cobol-list] possibly bug: accept into numeric field |
Date: |
Mon Nov 10 17:46:04 2003 |
User-agent: |
Wanderlust/2.10.0 (Venus) SEMI/1.14.3 (Ushinoya) FLIM/1.14.3 (UnebigoryĆmae) APEL/10.3 Emacs/21.2 (i386-redhat-linux-gnu) MULE/5.0 (SAKAKI) |
At Mon, 10 Nov 2003 18:24:37 +0100,
Thomas Biehler wrote:
>
> The intuitive behaviour: (conform to ... ?!)
> ==============================
> From the user sight it looks like a
> numeric MOVE from a shorter Field to a longer Field !!!!
> (Right alignment , Fillup with Zero's)
> But only one request to the User is made
> (ACCEPT from Terminal / SYSIN / Console ...)
> = only one Transfer of Data !?
What results do you suppose to obtain (or do you get
from other compilers) by the following ACCEPT?
Data item Input
--------- -----
01 X-1 PIC 99. "123"
01 X-2 PIC 99V9. "1"
01 X-3 PIC 99V9. "123.4"
Maybe "23", "010", and "234"? But it seems the standard
requires X-1 to be "12". (At leat the NIST Test Suite has
a test for this.) Gee.
> I hope, it is now clear why i can not say
> what I expect, only in a simple sentence.
> I don't now what i should request from you.
> (I have some ideas but i would like to see your answer first)
> In general, i like compiler that follows standards !
> (And i like good standards too :-) )
I'd like to implement a compiler that follows standards
by default, while I'd like to make it compatible with
other COBOL compilers by giving appropriate options.
Keisuke
- [open-cobol-list] possibly bug: accept into numeric field, Thomas Biehler, 2003/11/04
- Re: [open-cobol-list] possibly bug: accept into numeric field, Keisuke Nishida, 2003/11/07
- Re: [open-cobol-list] possibly bug: accept into numeric field, Thomas Biehler, 2003/11/10
- Re: [open-cobol-list] possibly bug: accept into numeric field,
Keisuke Nishida <=
- Re: [open-cobol-list] possibly bug: accept into numeric field, masterok, 2003/11/11
- Re: [open-cobol-list] possibly bug: accept into numeric field, Alain Lucari, 2003/11/11
- RE: [open-cobol-list] possibly bug: accept into numeric field, William M. Klein, 2003/11/11
- Re: [open-cobol-list] possibly bug: accept into numeric field, Alain Lucari, 2003/11/12
- [open-cobol-list] MOVE Statement (was: possibly bug: accept into numeric field, William M. Klein, 2003/11/12
- Re: [open-cobol-list] possibly bug: accept into numeric field, Thomas Biehler, 2003/11/11
- Re: [open-cobol-list] possibly bug: accept into numeric field, Bernard Giroud, 2003/11/11
- Re: [open-cobol-list] possibly bug: accept into numeric field, Keisuke Nishida, 2003/11/14
- Re: [open-cobol-list] possibly bug: accept into numeric field, Alain Lucari, 2003/11/14