my guess is that as long as you are using the BIFs you are using the default heap of that job which is not bound to any activation group AFAIK.

But i never needed to proof that so perhaps anybody else will help you from here.

If you want to have your own heap for your activation group, you could create a heap with the ILE CEE api and use the ILE CEE api to get and free the storage from the heap and just delete the heap at activation group ending. Then all claimed storage from that user created heap will be freed.

Hope it helps.

Mihael Schmidt

-----Ursprüngliche Nachricht-----
Von: rpg400-l-bounces@xxxxxxxxxxxx [mailto:rpg400-l-bounces@xxxxxxxxxxxx] Im Auftrag von PAPWORTH Paul
Gesendet: Donnerstag, 14. August 2008 15:10
An: rpg400-l@xxxxxxxxxxxx
Betreff: Dynamically allocated tables and %DEALLOC

If my programme has performed a series of %ALLOC et %REALLOC and is the
boundary of a named activation group , ending my programme will remove
the activation group , but will it also reclaim the storage , in the
same way as %DEALLOC. ?

Thanks in advance

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2019 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].