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



Barbara,

Thanks for the clarification.

That first part certainly wasn't a direct quote, just the idea I had in the
back of my mind, so I'm sure I wasn't remembering it correctly.

With respect to the other actual quotes I also included.  Specifically this
one:
"RCLACTGRP works if
 1. you only need to close files and free heap storage (i.e. you don't have
    any locks to remove, or any temporary files to delete, etc.)
 2. you want to do cleanup for -all- the programs in the activation group,
not
    only the one that is ending
 3. you are sure that no program in the AG is still active, otherwise the AG
    won't be reclaimed
 4. all your file-opens are scoped to the AG
 5. no other AG has saved a pointer to your heap storage"


Say you have a CLLE running in MYGRP calling RPGLE in MYGRP two.  If the
RPGLE end with *INLR = *OFF and the CLLE does a RCLACTGRP MYGRP2, will
MYGRP2 be reclaimed?

>From #3 above, it would seem the answer is no.  But in that case what good
is RCLACTGRP?

Thanks,
Charles


> -----Original Message-----
> From: Barbara Morris [mailto:bmorris@xxxxxxxxxx]
> Sent: Tuesday, September 14, 2004 4:56 PM
> To: rpg400-l@xxxxxxxxxxxx
> Subject: Re: Problem with commitment control and actgrp QILE
> 
> 
> 
> If I said that, I was wrong.  At least about the "easily reset the
> environment" part.  To save half a minute signing off and 
> back on, I've
> used RCLACTGRP *ELIGIBLE and then spent a couple of hours debugging a
> problem that turned out to be caused by the RCLACTGRP.  After 
> the second
> time I did that (I know, "fool me twice, shame on me"), I never use
> *ELIGIBLE.
> 
> --
> This is the RPG programming on the AS400 / iSeries (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:

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.