Hi Jay,

I haven't done much OPM in the last 20 years, since the first thing I do, when hitting an OPM program, is converting it to ILE and integrating it into the right activation group.

IMHO the biggest difference between OPM/*INLR and ILE activation groups for me is:

- OPM/*INLR is vertical - so the *INLR is affecting primarily the program itself and programs that are called from this program

-ILE activation groups work also "horizontal" - programs that are called from another program but in the same AG that your program will also end, if the AG ends - like a simultaneous *INLR in all programs in that AG

And it gets somehow more confusing when service programs enter the scene - they can run in the callers AG or in an own AG that can be ended explicitly or implicitly when the last program of the AG ends.

So teaching COBOL dudes ILE-RPG is effectively a two part job:

a) teaching them RPG

b) teaching them ILE

I'm doing ILE-RPG since 20 years - and still learn something new from time to time - and still do stupid errors from time to time (coincidentally this is often at the same time ;-)

If they have the chance, they should develop a good AG strategy first and then start developing ILE-RPG. Doing this "while you go" is possible - but will cost them some grey hair later.

HTH
Daniel


Am 15.08.2024 um 18:57 schrieb Charles Wilt <charles.wilt@xxxxxxxxx>:

On Thu, Aug 15, 2024 at 10:18 AM Jon Paris <jon.paris@xxxxxxxxxxxxxx> wrote:

Kinda.
First of all INLR = *On in an ILE program will effectively behave the same
way as in OPM. Under the covers it is different but from the programmer's
perspective, it behaves the same way.

As long as you're working with a cycle main program ;)

Charles
--
This is the RPG programming on IBM i (RPG400-L) mailing list
To post a message email: RPG400-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/rpg400-l.

Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription related questions.

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.