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



Whether it's ILE or OPM is irrelevant. The real question is whether it's RPG III or RPG IV.

RPG III has two options:
- Use UDS
- use *NAMVAR DEFN and the IN/OUT op-codes.

RPG IV (regardless of whether it's in OPM compatibility mode or true ILE mode) has three options:
- Use UDS
- use *NAMVAR DEFINE and the IN/OUT op-codes.
- use the DTAARA D-spec keyword and the IN/OUT op-codes.

In either case, it's possible to use both UDS and the IN/OUT op-codes on the same data area in the same program, but I strongly discourage you from doing that, because it's confusing. IMHO, you should either use UDS, or you should make sure you do NOT code UDS (but just code DS instead) if you plan to use the IN/OUT op-codes.



Francis Lapeyre wrote:
Not to split hairs, but RPG IV can be made to *act like* an OPM program, for
all intents and purposes. And as far as I know, *NAMVAR DEFN (or *NAMVAR
DEFINE) work the same way in III and IV.


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.