|
Hi to allprograms
Some years ago all ours programs ran in the DAG.
In the past two years we "introduced" Activation Group in some
(some in named AG, other in temporary ones).performance,
We made this for various reason (avoid recursion, improve
etc.).Group
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
(or Temporary) and not in the DAG.ours
None of our programs are compilated with DFTACTGRP(*YES)!!
So I simply replaced *CALLER with Named-one in the ACTGRP option of
"starting program" (the first program in the call stack of oursjob).
problem
I found lots of advantages... but this operation introduced some
with OVRDBF scoping.with
To avoid this problem I changed the OVRDBF (and OVRPRTF and DLTOVR)
scoping problem.in
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
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
--
This is the RPG programming on the IBM i / System i (RPG400-L) mailing
To post a message email: RPG400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
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.