|
A named activation group goes away automagically when the Job ends. Activation Groups (was we use them) are job-scoped. Bob Cozzi cozzi@rpgiv.com Visit the on-line Midrange Developer forum at: http://www.rpgiv.com > -----Original Message----- > From: rpg400-l-admin@midrange.com [mailto:rpg400-l-admin@midrange.com] On > Behalf Of JJW > Sent: Friday, March 01, 2002 8:38 AM > To: rpg400-l@midrange.com > Subject: Re: ILE questions: activation groups > > On Fri, 1 Mar 2002 08:56:26 -0500 > "Jon Paris" <Jon.Paris@Partner400.com> wrote: > >Hey you shouldn't believe everything you read in books, > >even the venerable > >Mr. Cozzi can occasionally be less than 100% correct <g> > > > >CALLP, just as I said means Call with prototype. The > >default is for it to > >call a procedure (which is also achieved by using the > >keyword EXTPROC on the > >PR). If the keyword EXTPGM is used then a regular CALL > >is generated. > > > > > I guess I don't understand what the activation group > >provides (or > >doesn't) to the binding process. An explanation would be > >appreciated. > > > >An AG is simply a subdivision of a job used to scope > >storage and resources > >such as ODPs etc. There are some differences between the > >default AG and a > >named or *New AG the main one being that an OPM program > >can run _only_ in > >the default AG. ILE programs can run in either. ILE > >programs can be run in > >the default quite safely but you need to know more about > >ILE to not use it > >than you do to use it if you see what I mean. Running > >ILE in the default > >can result in some strange behaviors and it is far > >simpler and safer to > >simply run your ILE stuff in named (or *New) AGs. I > >suggest you try reading > >the ILE introductory piece in the RPG Redbook ("Who knew > >you could ...") and > >then move on to the ILE Concepts manual. There have also > >been a number of > >threads in this group - check the archives and you'll > >probably find more > >than you ever wanted to know <grin> > > > > > >Jon Paris > >Partner400 > > > >_______________________________________________ > >This is the RPG programming on the AS400 / iSeries > >(RPG400-L) mailing list > >To post a message email: RPG400-L@midrange.com > >To subscribe, unsubscribe, or change list options, > >visit: > >http://lists.midrange.com/cgi-bin/listinfo/rpg400-l > >or email: RPG400-L-request@midrange.com > >Before posting, please take a moment to review the > >archives > >at http://archive.midrange.com/rpg400-l. > > > > Jon > > If I have an RPG-ILE program that runs once a week. If it > runs in a named activation group after completion does the > activation group still exist. If the activation group > does exist how can you get rid of it? TIA. > _______________________________________________ > This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing list > To post a message email: RPG400-L@midrange.com > To subscribe, unsubscribe, or change list options, > visit: http://lists.midrange.com/cgi-bin/listinfo/rpg400-l > or email: RPG400-L-request@midrange.com > Before posting, please take a moment to review the archives > at http://archive.midrange.com/rpg400-l.
As an Amazon Associate we earn from qualifying purchases.
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.