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



-----Message d'origine-----
[mailto:rpg400-l-bounces@xxxxxxxxxxxx] De la part de Birgitta Hauser
Envoyé : mardi 7 septembre 2010 18:26
À : 'RPG programming on the IBM i / System i'
Objet : AW: AW: program won't let go of file

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).
RCLRSC will not remove the ILE programs either, it will only
reinitialize allocated storage for ILE programs while it
reclaims OPM programs!

The next time the ILE program gets called within the same
job, the files will be opened again and the already allocated
storage get initialized.

Even worse when running service programs with I/O operations
within the default activation group and executing RCLRSC.
The files get closed, but the service program still thinks
they are opened ... and there is no way to trap the error,
neither with %OPEN, nor with %ERROR the service program will
fail with MCH3601.

Hi, Birgitta,

Having read Barbara's post, I am wondering if leaving the ILE programs active is a problem? In our case there are no service programs to worry about.

As an Amazon Associate we earn from qualifying purchases.

This thread ...

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.