× 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.




On 17-Oct-07, at 5:33 PM, rpg400-l-request@xxxxxxxxxxxx wrote:

Looking at the compile listing, The field in
question is defined as 9s 0 everywhere until the global field references
section when it shows as P(9,0).
Has anyone seen this before?

This is always the case and has been since RPG III. It was one of the "features" of RPG III that we were forced for compatibility reasons to bring forward into RPG IV.

A numeric field in RPG is _always_ represented internally in the program as packed _unless_ you force the compiler to honor the original data type. The common way of doing this is to include the field in a DS e.g and externally described DS based on the file in question.

Chances are that this field is normally described in this way and that is why nobody has noticed before.



Jon Paris

www.Partner400.com
www.SystemiDeveloper.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.