× 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 2013-07-25, at 10:43 AM, David Gibbs <david@xxxxxxxxxxxx> wrote:

On 7/24/2013 5:42 PM, Jon Paris wrote:
David said that the SRVPGM is the one calling the *NEW PGM and I
read it as saying that it was running in QILE and assumed it was
specified to do so.

The number of copies of the SRVPGM will depend upon its AG
attribute. If it is specified as QILE - then as long as there is an
active invocation of the SRVPGM then it will be used. There would
however be a new copy created if the SRVPGM had an AG attribute of
*CALLER.

The SRVPGM is compiled with activation group *CALLER. The external program has activation group *NEW.

When the SRVPGM is running it is in activation group QILE.

Interesting - from what Dan said I can't see how it would get there but ...

When the service program calls the external program I would expect it to create a new activation group. Subsequent invocations of a service program procedure, from the external program, would (I think) load a new copy of the SRVPGM because we are now operating in a *NEW activation group.

You are correct.


david

--
IBM i on Power Systems - For when you can't afford to be out of business

Thanks to all who sponsored me in the 2013 Chicago Tour de Cure.
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.


Jon Paris

www.partner400.com
www.SystemiDeveloper.com





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.