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



Hi, Birgitta:

What you describe for the behavior of LR in RPG IV is true when the RPGLE program was *not* compiled with:

CRTBNDRPG ... ACTGRP(*DFTACTGRP)

ACTGRP(*DFTACTGRP) is only available on CRTBNDCL and CRTBNDRPG, and causes extra code to be generated into the *PGMs so that those programs will behave as if they are OPM programs running in the default activation group. They can be reclaimed with RCLRSC.

That is why I like to say that ACTGRP(*DFTACTGRP) specifies the program is to run "in OPM compatibility mode."

All the best,

Mark S. Waterbury

> On 9/7/2010 10:27 AM, Birgitta Hauser wrote:
LR in RPGIII is not the same as LR in RPGIV.

In RPGIV it depends on the activation group if the program is completely
removed or not.
As long as the activation group in which the program runs is active, your
program is in the memory.
A RPGIV program running in the default activation group cannot be removed,
because it is not possible to reclaim the default activation group.

Instead of moving LR on, you need to run your RPGIV program in a named
activation group and reclaim this activation group instead of executing LR.

Mit freundlichen Grüßen / Best regards

Birgitta Hauser

"Shoot for the moon, even if you miss, you'll land among the stars." (Les
Brown)
"If you think education is expensive, try ignorance." (Derek Bok)
"What is worse than training your staff and losing them? Not training them
and keeping them!"



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.