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



Thanks all, and thanks for reminding me of that book.

I was asking as I was considering *NEW instead of a named group, as I don't know the name of the group to reclaim after execution. I stumbled across rclactgrp *eligible that seems to do what I need.

Just one thing, the help after execution of rclactgrp *eligible states :

ID message . . . . . . : CPC0912
... The activation groups were deleted because they were not active and the job was not in debug mode..

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 the IBM i / System i
Objet : Re: RPG compiled with ACTGRP(*NEW)

David,
From SG24-5402-00 Page 90
Who knew you could do that with RPG IV?

"A *NEW activation group is completely deleted when the
program ends abnormally 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 not need to sign off or use an RCLACTGRP
command to end the activation group as 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 ACTGRP(*NEW);

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, please take a moment to review the archives
at http://archive.midrange.com/rpg400-l.



--- This message (including any attachments) is intended only
for the use 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 law. If you are not the intended
recipient, you are hereby notified that any use,
dissemination, 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, 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 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-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.