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

The answer is "None of the above" ... 
Once a named Activation Group is created within a job, it remains for the lifetime of the job, unless specifically reclaimed by issuing:
NOTE: you cannot issue the "RCLACTGRP ACTGRP(named)" command from a program running inside that "named" activation group.
Otherwise, all activation groups for the job will be automatically cleaned up by the OS when the job ends.
Hope that helps,
Mark S. Waterbury
On Friday, October 14, 2022 at 10:23:09 AM EDT, smith5646midrange@xxxxxxxxx <smith5646midrange@xxxxxxxxx> wrote:

We have a developer that is running a CLLE "job stream" to run jobs which
are normally submitted via the job scheduler.  He wrote it so he didn't have
to submit the programs one at a time like he should.

This "job stream" program runs in the default activation group.  It calls
several CLLE "job" programs (these are the individual CLLE programs
submitted by the job scheduler) which call several RPGLE programs.  I
believe that all of these "job" CLLE and RPGLE programs have activation
group of "PGM".  These RPGLE programs call a service program with an
activation group of "SERVICE".

I am trying to figure out a problem for him and I think it is related to
values in the service program that were set by a previous RPGLE program
calling it. 

When do the variables in the "SERVICE" activation group get reset?  Is it at
the end of every RPGLE program, at the end of each CLLE "job" program, or
only at the end of the "job stream" CLLE?

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