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.