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



Mike McKinney wrote:
> 
> Any danger in creating all RPGLE programs with DFTACTGRP(*NO) ACTGRP(*NEW)?
> We don't use activation groups and compile everything as CRTBNDRPG.  Could
> it be a potential memory problem?
> 

One reasons not to use *NEW for all programs is that ending a program
with LR off (so files stay open etc) doesn't work with a *NEW program.

The best rule-of-thumb scheme I've seen for activation groups is to have
the first program in an application be *NEW and all the other programs
and service programs be *CALLER.  This way your application always
starts fresh and ends clean, overrides and commitment control work the
way you expect, and subprograms can still stay active across calls if
necessary.


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.