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



Nelson,

There is no API I know of that allows you to specify the
activation group. It should be possible because IBM
supports *CALLER, which is not known until run time. If
I were asking IBM to add this I would ask them to add
it to the activate bound program API (QleActBndPgm).

David Morris

>>> NSmith@lincare.com 03/19/02 08:54AM >>>
What's the difference between this and a recompile?

Since a program compiled with *CALLER doesn't know what activation
group it
will be running in until execution time, there must be some way that
IBM has
of assigning that activation group dynamically.  Is there an API for
this?
or, could there be?

> -----Original Message-----
> From: Phil [SMTP:sublime78ska@yahoo.com]
> Sent: Monday, March 18, 2002 6:15 PM
> To:   rpg400-l@midrange.com
> Subject:      RE: Activation groups for beginners
>
> Well, actually you can change the activation group with the UPDPGM
> command:
>
> UPDPGM PGM(PHILLIB/PRMORG01) MODULE(*NONE) ACTGRP(PHILAG)
>
> It creates a new program - the old one is moved to QRPLOBJ.
>
> If you call the pgm, don't reclaim the ag, change the ag with UPDPGM,
then
> call it again, both ag's will show in option 18 of wrkjob.



As an Amazon Associate we earn from qualifying purchases.

This thread ...


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.