Where allowed to run: All environments (*ALL) Threadsafe: No |
Parameters Examples Error messages |
The Reclaim Activation Group (RCLACTGRP) command deletes a specified activation group and frees the resources that are scoped to it. It does not reclaim resources scoped to the job or scoped to the default activation group. This command is normally used only in the controlling program of the application.
An activation group is eligible to be reclaimed if it meets the following criteria:
The default activation group cannot be reclaimed.
An activation group cannot be reclaimed if there are programs or procedures running within the activation group.
When the job is in debug mode, the activation groups in use do not appear as active on the Call Stack or Display Activation Group displays.
A shared activation group cannot be reclaimed because it may be in use by another job.
When an activation group is reclaimed, all resources within the scope of the activation group are reclaimed. Resources within the scope of the activation group include static storage for programs in the activation group, open files, user interface manager (UIM) application resources, Common Programming Interface (CPI) Communications conversations, hierarchical file systems (HFS) resources, user-defined communications sessions, and pending changes for the commitment definition.
A close option can be specified on this command, and is used when closing mixed, communications, binary synchronous (BSC), and intersystem communications function (ICF) files. If an activation group level commitment definition has been started for the activation group, and it has pending committable changes, the close option also indicates whether the system implicitly commits or rolls back the pending changes before ending the commitment definition. When specifying a close option of *NORMAL, and there are no errors when closing files using the activation group level commitment definition, a commit is performed. Otherwise, a rollback is performed. See the Backup and Recovery book, SC41-5304 book for information on how the system performs the rollback operation under commitment control.
An activation group should only be reclaimed if it will never be needed again within the same job. Otherwise, errors and unpredictable results may occur if other programs later attempt to access the resources that were reclaimed. Therefore, this command should normally only be used in the controlling program of an application. Specifying ACTGRP(*ELIGIBLE) requires full knowledge of the job environment. Otherwise, unpredicable results can occur.
For more information on the appropriate use of this command, see the IBM System Manager for i5/OS.
Restrictions:
Top |
Keyword | Description | Choices | Notes |
---|---|---|---|
ACTGRP | Activation group | Name, *ELIGIBLE | Required, Positional 1 |
OPTION | Close option | *NORMAL, *ABNORMAL | Optional, Positional 2 |
Top |
Specifies the activation group to be reclaimed.
Top |
Specifies whether to commit or roll back pending changes for an activation group level commitment definition, and whether a normal or abnormal close notification is sent to the attached host system when mixed, communications, BSC, and ICF files are closed. This parameter is ignored for all other files and objects within the scope of the activation group.
Top |
Top |
*ESCAPE Messages
Top |