|
From: Leif Svalgaard <leif@leif.org> To: <cobol400-l@midrange.com> Sent: Tuesday, October 08, 2002 8:49 AM Subject: Re: Internal handling of numeric data in Cobol > From: Greg Spohr <GSpohr@DOTFOODS.com> > > > > I have recently been told that "COBOL programs run more > > efficiently when numeric fields are defined as odd length > > this is correct. You can make a simple test yourself. > Add up a billion numbers (or 10 million or whatever). > First try with pic s9(6) comp, then with s9(4) comp. <== s9(5) comp > Tell us the result. > too fat-fingered here, should be 5 digits.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.