[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[open-cobol-list] 31 digit numeric, why (was: RFC - Binary fields > 18 d
From: |
Bill Klein |
Subject: |
[open-cobol-list] 31 digit numeric, why (was: RFC - Binary fields > 18 digits |
Date: |
Fri Jan 13 10:14:03 2006 |
> -----Original Message-----
> The 2002 standard allows 31
> (geez, How did that come about?
> 2 x 18 = 36 and 2 power 128 is even more).
Answer, the SQL Standard from sometime in the 90's was the first to use "31"
as the "magic" number for NUMERIC fields (without regards to "how" they were
stored).
COBOL "simply" tried to stay in sync with other ANSI/ISO Standards.