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



On 3/4/2011 8:23 AM, Charles Wilt wrote:
...
(Basically?) True for DFTACTGRP(*NO) ACTGRP(*CALLER) when called from
the command line or other OPM (or OPM mode) program. The easiest
problem to manifest is when such program ended with LR = *OFF, and a
RCLRSC command is used, the reclaim won't clean it up properly. In
particular, the files will be closed but the program will still be
activated and expect it's files to be open. In fact, the %open() bif
will return that the files are open when in fact they aren't
(completely) and the program will crash with a CPF error.


Charles, what you describe is true for a _service_program_, but not for a program.

When an ILE *CALLER _program_ was running in the DAG and then a RCLRSC is done, the programs static storage is not released, but it is (somehow) marked for reinitialization. When the program is called again, all its static storage is reinitialized.

When an ILE *CALLER _service_program_ was running in the DAG and then a RCLRSC is done, the service program's static storage is not released, and it is not marked for reinitialization. When a procedure in the service program is called again, all its static storage is the same as before the RCLRSC.

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.