BirgittaHauser wrote:
Are you returning the fields into a data structure or single fields?
There might be a conversion error with small integer / integer and big
integer fields.
If a data structure is used the fields are used as defined, i.e. integer
fields are not converted into packed ones.
While I'm not sure this relates to your problem, I wanted to point out one issue: just defining the externally described data structure is not enough. To esnure that fields are compiled correctly, you need to specify EXTBININT(*YES) on your H-spec. I just wrote about this:

http://www.mcpressonline.com/programming/rpg/integers-and-rpg.html

Joe


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

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.