|
-----Message d'origine-----
De : rpg400-l-bounces@xxxxxxxxxxxx
[mailto:rpg400-l-bounces@xxxxxxxxxxxx] De la part de Charles Wilt
Envoyé : mardi 14 avril 2009 14:02
À : RPG programming on the IBM i / System i
Objet : Re: RPG compiled with ACTGRP(*NEW)
Barbara Morris of IBM's RPG compiler team (and others) has
stated many times that rclactgrp *eligible is a very bad idea
in production code.
In a development environment, it's ok...but her suggestion is
to simply sign off and back on instead.
There's a reason it's not listed as an option when you prompt
the RCLACTGRP command.
HTH,
Charles
On Tue, Apr 14, 2009 at 5:15 AM, David FOXWELL
<David.FOXWELL@xxxxxxxxx> wrote:
Thanks all, and thanks for reminding me of that book.group, as I don't know the name of the group to reclaim after
I was asking as I was considering *NEW instead of a named
execution. I stumbled across rclactgrp *eligible that seems
to do what I need.
*eligible states :
Just one thing, the help after execution of rclactgrp
not active and the job was not in debug mode..
ID message . . . . . . : CPC0912
... The activation groups were deleted because they were
the IBM i /
However, I am in debug mode. Am I misunderstanding something here?
-----Message d'origine-----
De : rpg400-l-bounces@xxxxxxxxxxxx
[mailto:rpg400-l-bounces@xxxxxxxxxxxx] De la part de Bryce Martin
Envoyé : jeudi 9 avril 2009 16:33 À : RPG programming on
program endsSystem i Objet : Re: RPG compiled with ACTGRP(*NEW)
David,
From SG24-5402-00 Page 90Who knew you could do that with RPG IV?
"A *NEW activation group is completely deleted when the
not need toabnormally or when it returns to its caller (even without the LR
indicator turned on). This is important when calling a program
recursively and also when you test a new program. You do
group assign off or use an RCLACTGRP command to end the activation
ACTGRP(*NEW);youwould have to with a named activation group."
Thanks
Bryce Martin
Programmer/Analyst I
Ext. 4777
David FOXWELL <David.FOXWELL@xxxxxxxxx> Sent by:
rpg400-l-bounces@xxxxxxxxxxxx
04/09/2009 10:15 AM
Please respond to
RPG programming on the IBM i / System i <rpg400-l@xxxxxxxxxxxx>
To
RPG programming on the IBM i / System i <rpg400-l@xxxxxxxxxxxx> cc
Subject
RPG compiled with ACTGRP(*NEW)
Hi,
PGM A compiled with ACTGRP(A) calls PGM B compiled with
please take a
Does *INLR have to be *ON in PGM B so that its activation group
disappears on returning to PGM A?
IF it ends with RETURN, is the activation group still alive?
Thanks.
--
This is the RPG programming on the IBM i / System i
(RPG400-L) mailing list 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,
only for themoment to review the archives at
http://archive.midrange.com/rpg400-l.
--- This message (including any attachments) is intended
law. If youuse of the individual or entity to which it is addressed and may
contain information that is non-public, proprietary, privileged,
confidential, and exempt from disclosure under applicable
that any use,are not the intended recipient, you are hereby notified
please take adissemination, distribution, or copying of this communication is
strictly prohibited. If you have received this communication in
error, please notify us and destroy this message immediately. ---
--
This is the RPG programming on the IBM i / System i
(RPG400-L) mailing list 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,
(RPG400-L) mailingmoment to review the archives at--
http://archive.midrange.com/rpg400-l.
This is the RPG programming on the IBM i / System i
list To post a message email: RPG400-L@xxxxxxxxxxxx To subscribe,please take a
unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx Before posting,
moment to review the archives athttp://archive.midrange.com/rpg400-l.
--
This is the RPG programming on the IBM i / System i
(RPG400-L) mailing list 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-2025 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.