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



Barbara,

Thanks for the correction...

So having a *SRVPGM run in the DAG via ACTGRP(*CALLER) is a bad idea...

But is it a good/bad/indifferent idea to have a ILE *PGM
[DFTACTGRP(*NO)] run in the DAG [via ACTGRP(*CALLER)]?

Charles

On Fri, Mar 4, 2011 at 10:40 AM, Barbara Morris <bmorris@xxxxxxxxxx> wrote:

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

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.