On Thu, Apr 16, 2026 at 2:34 PM Marco Facchinetti <
marco.facchinetti@xxxxxxxxx> wrote:

If PgmB was designed to run in batch and isn't a program of a few hundred
lines, I wouldn't dare hope that everything will work just by activating LR
on exit. You should be sure it doesn't call other programs or use service
programs.
If you can guarantee this, you could save yourself the cost of a new job
with every invoice by modifying PgmB with ACTGRP(*NEW).


OP please don't. Calling a PGMB that uses ACTGRP(*NEW) in a loop is going
to hurt.
Not quite as bad as submitting PGMB to batch, but still, never a good idea.

If you've ever had IBM perform a performance analysis on your system, one
of the key things they report on is activation group creation and
destruction.
Why? Because it's resource intensive, requiring CPU and IO and also drives
up DB full opens.

Charles

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

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.