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



Phil wondered:

>This is a batch job.
>
>I have OPM pgm A, which does
>overrides, and calls OPM
>pgm B.
>
>If I convert OPM pgm B to
>ILE pgm B, should I use AG
>*CALLER to ensure the overrides
>remain visible to the
>ILE pgm?

It depends.  All programs running in the same AG should be designed to share
the same resources.  Conversely, if you pick an AG for a program, it should
be designed to share resources with all other programs in that AG.

So.  I would ordinarily advise against running ILE programs in the DAG
because you can't reclaim their (shared) resources.  Remember that ILE
programs (running in a named or *NEW activation group) inherit OPM issued
overrides.

>If ILE pgm B also calls ILE SRVPGM C,
>which has AG *CALLER, will there be
>any trouble the 2nd time it's
>called within the same job?

So they're all running in the DAG?  Well, you won't get the common
activation mistake because you can't reclaim the DAG!  Aside from that, I
can't think what trouble you might run into, but I don't personally ever run
ILE programs in the default AG, so my experiences in this regard are limited
to tinkering and testing other folks' scenarios.
  --buck


As an Amazon Associate we earn from qualifying purchases.

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