|
Thanks, everyone, for your input! I never thought I would mix OPM and ILE, but ILE has finally become predominant enough that the only way to prevent mixing them would be to re-write ILE pgms as OPM! Phil > -----Original Message----- > From: rpg400-l-admin@midrange.com [mailto:rpg400-l-admin@midrange.com]On > Behalf Of Buck Calabro > Sent: Wednesday, May 08, 2002 2:06 PM > To: rpg400-l@midrange.com > Subject: RE: Activation Groups 102, the plot thickens.... > > > 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 > _______________________________________________ > This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing list > To post a message email: RPG400-L@midrange.com > To subscribe, unsubscribe, or change list options, > visit: http://lists.midrange.com/cgi-bin/listinfo/rpg400-l > or email: RPG400-L-request@midrange.com > Before posting, please take a moment to review the archives > at http://archive.midrange.com/rpg400-l. > >
As an Amazon Associate we earn from qualifying purchases.
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.