The process of getting a program object or service program ready to run is called activation. Activation is done by the system when a program object is called. Because service programs are not called in their entirety, they are activated during the call to a program object that directly or indirectly requires their services. ILE procedures within service programs are called using static procedure calls; they cannot be called using dynamic program calls.
Activation does the following functions:
When activation allocates the storage necessary for the static variables used by a program object, the space is allocated from an activation group. Each activation group has a name. The name of the activation group is supplied by the user (or by the system when *NEW is specified). You can specify, at the time the program object or service program is created using CRTPGM or CRTSRVPGM, the activation group in which the program object or service program is to be activated. Refer to ILE Concepts for a more detailed discussion on activation and activation groups.
(C) Copyright IBM Corporation 1992, 2005. All Rights Reserved.