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