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



Hi to all

Some years ago all ours programs ran in the DAG.

In the past two years we "introduced" Activation Group in some programs
(some in named AG, other in temporary ones).
We made this for various reason (avoid recursion, improve performance,
etc.).

Unfortunately (or better... by ignorance...) we made this operation
without having well understood Activation Groups.

Now I'm trying to do spring cleaning...

In all (or almost) technical articles and forum I read, I found the advice
to avoid running ILE programs in the DAG.

So we modified our programs to run all of them in Named Activation Group
(or Temporary) and not in the DAG.
None of our programs are compilated with DFTACTGRP(*YES)!!
So I simply replaced *CALLER with Named-one in the ACTGRP option of ours
"starting program" (the first program in the call stack of ours job).

I found lots of advantages... but this operation introduced some problem
with OVRDBF scoping.

To avoid this problem I changed the OVRDBF (and OVRPRTF and DLTOVR) with
scoping problem.

A make an OVRPRTF and calls B
B calls C
C is in a different AG and isn't affected by OVRPRTF. But I want it.

OVRPRTF OVRSCOPE(*CALLLVL) was my solution..

Now my MAIN question is...
Compiling all my existing program in a proper Activation Group (not in the
DAG), how many other problem can produce?

For example I found some difference in "free resources".
The RCLRSC LVL(*CALLER) used in the DAG can't be "replaced" with a similar
command in a Named AG...
I have to close the Activation Group... Right?

Any help or observation would be greatly appreciated.
Thanks in advance

Stefano

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.