|
d $nuller s 2b 0 based($nullOffset) dim(23) d $nullOffset s * Inz(*Null)
Some folks haven't run into this yet, so it bears politely repeating that this is a FAQ. (Maybe an archive search too!) The problem is not the use of 'B'; rather, it is a misunderstanding of what the documentation means by the use of the word Binary.
http://faq.midrange.com Search (lower left corner) for the word binary. You're looking for 'What does Binary 4 mean in documentation.')
--buckps The Binary data type in RPG can't hold large numbers (only up to 9 digits) so that's why most people recommend the 'I' or 'U' data type. However, integer data types cannot hold decimal positions (i.e. 9b 2) so there is a legitimate use for the 'B' data type when dealing with existing database definitions.
As 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.