Folks:

I need some clarification about service program & program behaviors with regard to activation groups.

I've got a service program that makes a call to an external ILE bound RPG program (prototyped, with EXTPGM). The RPG program is compiled with activation group *NEW. The service program is compiled with activation group *CALLER.

The service program is invoked from java via a remote program call (JT400).

This RPG program makes a procedure call into the same service program that calls it.

My questions are:

When the service program calls the external RPG program, should the activation group change from QILE to a new activation group?

When the external program calls back into the service program, will a new copy of the service program be loaded ... or will it call back into the original service program that invoked the external program?

Thanks!

david


This thread ...

Follow-Ups:

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

This mailing list archive is Copyright 1997-2026 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.