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



Birgitta,

When running ILE Programs in the default activation group with *LR=ON, the
files get closed, but the program itself will be not removed from the
storage until the job ends (i.e. the default activation group gets closed).

What you say here is true *ONLY* if DFTACTGRP(*NO) is specified. If you specify DFTACTGRP(*YES), the program will act like an OPM program, and the activation will indeed be removed from memory with LR=*ON or RCLRSC.

When you specify DFTACTGRP(*NO) ACTGRP(*CALLER) and call from the default activation group, then LR will leave the program in memory. DFTACTGRP(*NO) makes a program act like an ILE program -- so it stays in memory until the activation group is reclaimed. (In the case of the default activation group -- that means it stays in memory til the job ends.)

This has all been said and explained several times before on this mailing list. Please check the archives for a more in-depth discussion.

As an Amazon Associate we earn from qualifying purchases.

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