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



For those still thinking about this, the answer to the problem is well
documented within the ILE Concepts manual. In short:

-symbolic links to the service program are converted to physical addresses
upon program activation.

-program activation occurs as part of an HLL dynamic program call.  Once a
program is activated, it remains activated until the activation group is
deleted.

Since the original ILE program was running in the default activation group
(which never get's deleted), we should expect each subsequent call to crash.

Anyone who isn't comfortable with ILE yet, should really take the time to
read the concepts manual. Unlike most IBM manuals, it was written quite
well, and it does a great job of explaining ILE.


John Taylor
Canada

----- Original Message -----
From: "Joel Fritz" <JFritz@sharperimage.com>
To: <RPG400-L@midrange.com>
Sent: Wednesday, May 02, 2001 09:38
Subject: RE: I hate Activation Groups....


> Maybe this got a definitive answer and I missed it, but I'm still betting
on
> the activation group of the calling program having a static reference to
the
> address of the service program.
>
> Since signing off cures the problem, it seems like the caller was running
in
> the default activation group.
>
> Forgive me if the terminology isn't quite right.
>
> > -----Original Message-----
> > From: Jon.Paris@hal.it [mailto:Jon.Paris@hal.it]
> > Sent: Tuesday, May 01, 2001 9:16 PM
> > To: RPG400-L@midrange.com
> > Subject: Re: I hate Activation Groups....
> >
> >
> >
> >  >> I believe your problem lies on the second call because you cannot
> > create the activation group (DAVE) a second time in the same
> > job once it
> > has been reclaimed.
> >
> > Sorry this just isn't true.  There is no such limitation -
> > you can create
> > and destroy an AG as many times as you want.  You _shoulnd't_
> > do it more
> > than you need to because it is a relatively expensive
> > process, but there is
> > no limitation on doing so.
> >


+---
| This is the RPG/400 Mailing List!
| To submit a new message, send your mail to RPG400-L@midrange.com.
| To subscribe to this list send email to RPG400-L-SUB@midrange.com.
| To unsubscribe from this list send email to RPG400-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: david@midrange.com
+---

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.