|
A poor design decision on IBM's part was in requiring the Integer data type to be coded as 3I, 5I, 10I or 20I is the root of the problem. It should have been 1I, 2I, 4I, and 8I. IBM could add this capability without impacting existing code--and it would make things much easier to comprehend by those still using the "B" data type.
Should the RPG team have done this, instead?
D myNum s 32I 0
D myNum s WI
D myNum s DIAs an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 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.