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



CWilt@xxxxxxxxxxxx wrote:

Resources not being deallocated has been mentioned.  But are we just looking
at memory not being freed until the job is ended?  Files are still closed
correct?  I also thought RCLRSC had no effect, but Scott mentions that it
will cause variables to be re-initialized even if *INLR was *OFF.  Is there
any other effects?

The program stays active until the job ends. You might switch the environment or compile a new version, but when you call it you get the original version. The biggest problem with the whole situation is that you will probably get away with it most of the time. But when something goes wrong you'll have a hell of a time finding out what caused it.


When are resources deallocated when using a named activation group?

Obviously when the job ends, but it can also be done with RCLACTGRP.


Biggest question...what do I use in place of DFTACTGRP(*NO) ACTGRP(*CALLER)
when most of my ILE programs are called from and may call OPM programs???

Should I use *NEW unless the program is called repeatedly?
Should I have all ILE simply use a single named activation group ('QILE')?

I would use a named activation group, either QILE or something else. QILE should be fine, unless you mix with another application that uses the same setup.


Joep Beckeringh

As an Amazon Associate we earn from qualifying purchases.

This thread ...

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.