|
Actually, RCLRSC will remove both OPM and ILE programs if they are in
the default activation group.
The problem is service programs. Since RCLRSC does not understand
service programs, it'll see the open files and close them, but it'll
leave the service programs in memory, and the service programs won't
understand that their files have been closed. So next time they access
a file they'll end up accessing memory they aren't supposed to be using.
Usually, this causes them to crash with an ugly error.
ILE activation groups work MUCH better for ILE programs than the default
activation group. I don't understand why, after 18 years of ILE, there
are still people who do foolish things like run ILE programs in the
default activation group. Stubbornness never to learn anything new?!
What else could it be?
On 6/11/2013 11:41 PM, Birgitta Hauser wrote:
I assume the CL program is running in the default activation group and the--
RPG (service) program is compiled with activation group *CALLER (so it also
runs in the default activation group).
The default activation group cannot be ended within a job, but only by
ending a job.
When executing the RCLSRC (reclaim resources) OPM programs are removed while
ILE programs are not. This may cause a lot of problems.
... avoid using RCLRSC at least if there are ILE (service) programs running
within the default activation group
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!"
This is the RPG programming on the IBM i (AS/400 and iSeries) (RPG400-L) mailing list
To post a message email: RPG400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/rpg400-l.
As an Amazon Associate we earn from qualifying purchases.
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.