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



> From: Mark Waterbury
>
> I don't believe that a *SRVPGM creates a new activation group,
> but perhaps if the *SRVPGM has ACTGRP(*CALLER) and
> the caller happens to have ACTGRP(*NEW), this might happen?

I think you're right about this, Mark, but that's not the issue.  I haven't
even begun to deal with all the issues surrounding AGs and service programs.
I was talking about the various OS/400 host servers, which I use a lot in my
applications.  For example, I believe that QZRCSRVS and QSRCSRVSD together
handle program calls.  I believe QZRCSRVSD is the daemon that listens on the
TCP/IP port and submits QZRCSRVS jobs as necessary.

The issue is down at the QZRCSRVS level.  If I create a connection to the
host (one way is to use the JTOpen toolbox) and do multiple calls to my own
API program, I get the same QZRCSRVS job, and so I can do some things like
changing library lists and so on, and they persist between calls.  However,
it seems that OS/400 creates a new activation group for each call.  Thus, if
I use *CALLER in my API, I will not be able to persist data using the return
with *INLR off technique between calls.  Instead, I have to used a named AG.

My assumptions, however, are based only on empirical evidence gathered
during my testing.  I'd like to know from any IBM folks whether I'm right on
this, and where there might be a little more information on how AGs are used
in servers.

Joe



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.