APIs by Example: Analyze Activation Groups

For this installment of APIs by Example, I have written a utility based on two Open List APIs: “Open List of Activation Group Attributes” and “Open List of Activation Attributes.” The utility is presented in the form of the Analyze Activation Groups (ANZACTGRP) command.

Activation groups are an aspect of the ILE (Integrated Language Environment) runtime and constitute a substructure of any job on the iSeries. The activation group contains the resources that are necessary to run a program, including static program variables, dynamic storage, open files (ODPs), SQL cursors, and many more.

You can control which activation groups your ILE programs run in by specifying the ACTGRP parameter on the Create Program (CRTPGM), Create Bound Program (CRTBNDxxx), or Create Service Program (CRTSRVPGM) command.

Download the save file containing the source code.

Read the entire article

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s