|
Thanks Buck, I'm not sure where I found it, but it was an example I found with no disclaimers. live and learn (hopefully) ;) Rick On 12/15/05, Buck <kc2hiz@xxxxxxxxx> wrote: > > 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.') > --buck > > ps 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. > -- > This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing list > To post a message email: RPG400-L@xxxxxxxxxxxx > To subscribe, unsubscribe, or change list options, > visit: http://lists.midrange.com/mailman/listinfo/rpg400-l > or email: RPG400-L-request@xxxxxxxxxxxx > Before posting, please take a moment to review the archives > at http://archive.midrange.com/rpg400-l. > >
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.