× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



 >> I should have been clearer.... this is a field in an externally
 >> described file, and is defined in it's dds as 6s 0

RPG has done this forever - RPG III on S/38, RPG/400 on AS/400 and RPG IV.
Nothing new - you just haven't been paying attention <grin>

In essence all numerics are internally defined as packed unless they are
specifically defined in the program.  For example if you use an externally
described DS based on this file, you will find that the compiler honors the
6S.

If you think about the way RPG works, you can have one field name appearing
in multiple files.  It could be zoned in one file, packed in another, binary
in a third.  Obviously within the program they have to be reduced to a
single format since there is only one memory location.  The default for RPG
IV (as with its predecessors) is packed.  RPG II uses zoned I think.

Hope this makes sense.


Jon Paris
Partner400
www.Partner400.com



As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

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.