Activation groups – What is an activation group in AS400 terminology ?

5 pts.
Tags:
Activation Groups
AS/400
What is an activation group in AS400 terminology ?

Answer Wiki

Thanks. We'll let you know when a new response is added.

Hello
you may <a href=”http://faq.midrange.com/data/cache/252.html”>have a look ath this FAQ</a> to help you understand Activeation Groups.
Bye

===================================================

I’m not sure how that FAQ satisfied the question.

An Activation Group (AG) is a partition of a job. It is a way to define ‘scope’ for things like overrides. It is also useful for garbage collection — when you reclaim an AG with the RCLACTGRP command, only programs and files that were used in that AG are ceaned up and closed.

What happens in one AG is separated from other AGs in the same job. An AG survives until you reclaim it or until the job ends. You might have an initial program that CALLs another program when you sign on. That second program could be compiled to run a a separate AG. When it RETURNs, your initial program starts to run again and you start your normal interactive work.

However, that second AG is still available in your interactive job. If it opened any files and left them open, those files are still available to programs that run in that same AG. If programs in that AG stored any values in program memory, those values can still be retrieved.

Then when you finally signoff at end of day, you might CAL a shutdown program. It could issue a CALL to a program in that second AG to retrieve values that have been waiting there.

During the day, you might call other programs that did various file overrides. By default, those overrides were never seen by anything in the second AG.

When you finally signoff, the system cleans up any AGs that were left hanging around.

An AG provides a way to do things like open files once and leave them open through the entire job, but only programs in the same AG will know about them.

AGs are simply sub-units of jobs that are available for you to section of parts of the work. They provide scope for files and a few other things. You can almost think of them like subprocedures for jobs.

Tom

Discuss This Question:  

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following