Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Do I need to care about a named activation group?

1 view
Skip to first unread message

Mr. K.V.B.L.

unread,
Dec 15, 2009, 12:06:57 PM12/15/09
to
I have a program (call it "1"). This program has it's own job
description and it's own subsystem that it runs in. It has no user
interface, managing TCP/IP traffic and spawning other jobs to handle
whatever comes it's way. So, call these handler programs 1.1, ...
1.5. For now, they exist as long as they're needed then they exit
until needed again (this will probably change in the future).

I compiled all of these program with ACTGRP(TRANS_ENG) just for the
heck of it but I really wonder what the benefits are. It seems like a
good idea to 'group' these programs together.

JTF

unread,
Dec 15, 2009, 1:42:54 PM12/15/09
to

Interesting. There are differing opinions on this too
http://www.i5tools.com/php/modules.php?name=Downloads&d_op=getit&lid=27

This will get a word doc....I hope this helps.

yl_mra

unread,
Dec 23, 2009, 11:57:19 AM12/23/09
to
On Dec 15, 12:06 pm, "Mr. K.V.B.L." <kenverybigl...@gmail.com> wrote:
> I compiled all of these program with ACTGRP(TRANS_ENG) just for the
> heck of it but I really wonder what the benefits are.  It seems like a
> good idea to 'group' these programs together.

Activation groups are very important from a process perspective as
they control memory resources and certain resource scoping. To get an
handle on what activations groups are and how to use them, open a copy
of the iSeries, ILE C/C++ Programmer's Guide. Search on 'activation
groups', reading the information found via the search will provide
what you need as long as you have a basic grasp of OS/400
fundamentals. If you only read one section (NOT recommended), read
Managing Activation Groups. Although you find redundant information in
different sections, put up with it to get the critical data needed to
be a first rate iSeries programmer.

Used incorrectly, specifying activation groups can result in needless
crashing of processes. Not used when needed can result in incorrect
scoping of such things as overrides.

Mike Amos (MrA)

0 new messages