|
On Thu, 03 Mar 2011 10:28:50 -0500, Buck <kc2hiz@xxxxxxxxx> wrote:
There is a wrong way though. Compiling your ILE programs
actgrp(*caller) and then calling them from the default activation group
will lead to problems. I strongly advise against this.
We have lots of that, including ALL of our service programs are
*CALLER, and some get called from *CALLER programs running in the
default activation group. *PGMs are all either *NEW or *CALLER. We
don't use named activation groups at all.
There's no problem with any of it as long as you understand the
implications. Personally I haven't found any issues for *PGMs.
There are implications for *SRVPGMs but they are easy enough to deal
with, especially if you absolutely forbid the use of RCLRSC in
production code.
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.