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



Hi, Joe:

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 recommend the use of "named" activation groups for use with
service programs; for example, say you have a *SRVPGM named
"XYZ", then you can specify ACTGRP(XYZ), and the system will
automatically create this "named" activation group the first time you
invoke this service program, and you can decide when you want to
"clean it up" with "RCLACTGRP ACTGRP(XYZ)", or it will get
cleaned up automatically at "end of job" (eg. when you sign off).

Regards,

Mark S. Waterbury

----- Original Message -----
From: "Joe Pluta" <joepluta@PlutaBrothers.com>
To: <midrange-l@midrange.com>
Sent: Sunday, September 22, 2002 8:56 AM
Subject: RE: Activation groups - named vs. *NEW


> > From: Joe Pluta
> >
> > I'd be interested to know from anybody at IBM whether this is indeed the
> > case: do server programs such as the host servers create a *NEW
> > AG for each
> > request?
>
> Along these lines, is there a unique ID associated with an AG that can be
> accessed from an API somewhere?  That way I could run my own tests to see
if
> OS/400 indeed creates a new AG for each request, as I suspect.
>
> Joe
>
> _______________________________________________
> This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
list
> To post a message email: MIDRANGE-L@midrange.com
> To subscribe, unsubscribe, or change list options,
> visit: http://lists.midrange.com/cgi-bin/listinfo/midrange-l
> or email: MIDRANGE-L-request@midrange.com
> Before posting, please take a moment to review the archives
> at http://archive.midrange.com/midrange-l.
>



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.