*INLR = *ON will work in the same way as ACTIVATION GROUP *NEW
Mit freundlichen Grüßen / Best regards
Birgitta Hauser
Modernization ? Education ? Consulting on IBM i
Database and Software Architect
IBM Champion since 2020
"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!"
"Train people well enough so they can leave, treat them well enough so they
don't want to. " (Richard Branson)
"Learning is experience ? everything else is only information!" (Albert
Einstein)
-----Original Message-----
From: RPG400-L <rpg400-l-bounces@xxxxxxxxxxxxxxxxxx> On Behalf Of Jay Vaughn
Sent: Thursday, 15 August 2024 17:44
To: RPG programming on the IBM i (AS/400 and iSeries)
<rpg400-l@xxxxxxxxxxxxxxxxxx>
Subject: OPM *INLR and ILE actGrp
Would anyone agree or disagree that *INLR is very much like actGrp's?
Instead of turning *INLR on or off to manage persistent memory storage and
files opened, actGrp's pretty much do the same thing.
What are any real big differences between the two?
in a call stack...
OPM - pgm1 (inlr=on), pgm2 (inlr=off), pgm3 (inlr=off), pgm4 (inlr=on)
really isnt any different than...
ILE - pgm 1 actgrp(*new), pgm2 actgrp('named'), pgm3 ( 'named'), pgm4
actgrp(*new)
for the opm, on the next call, the pgms with inlr=off will still have their
files/memory still resident, and the others will not for the ile, on the
next call, the pgms with actgrp('named') will still have their files/memory
still resident, and the others will not.
yes? no?
thanks
Jay
--
This is the RPG programming on IBM i (RPG400-L) mailing list To post a
message email: RPG400-L@xxxxxxxxxxxxxxxxxx To subscribe, unsubscribe, or
change list options,
visit:
https://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives at
https://archive.midrange.com/rpg400-l.
Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription related
questions.
As an Amazon Associate we earn from qualifying purchases.