× 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, David:
(
Perhaps trying to use multiple ILE activation groups is the "wrong" technology to solve this problem? :-o

Since you mentioned that the bulk of the application is OPM, you might want to investigate "group jobs", and the TFRGRPJOB and ENDGRPJOB commands. Traditionally they are used via an Attention-key exit program that pops up a menu, but you don't have to do it that way. (I admit this is an "old school" approach, but I think it might just be "the right tool for the job" in this case.)

Since each "group job" is a separate job, as far as OS/400 is concerned, it has its own *LIBL, and its own call stack and its own default activation group (where OPM programs run), etc. -- So then, using the TFRGRPJOB command, and perhaps an ATTN-key menu, you can allow users to "jump" from one group job to another (or, in terms of your application, from one "product" to another.)

Group jobs are a special case of interactive jobs, where only one group job in the group is "active" at a time, and the others are "suspended" or "swapped out". (Very similar to what products like "Software Carousel" provided in MS-DOS.)

HTH,

Mark

> David FOXWELL wrote:
Thanks Scott,

I believe you are saying that a named group does not automatically end like a *new group. In that case,when would it end?

Currently I cannot do what I'd like to because the application is mainly OPM. After the first call, files of the previous library list may remain open so even if I change the library list the program will continue to use the files of the original library list.

The idea was that by converting the OPM source and using an activation group, this problem would evaporate with the activation group at the end of the program.

But as the user on each entry can effectively change the library list, I wondered if I could create a named activation group for each product and keep all my files open between calls.
...(snip)...

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.