ILE C/C++ Programmer's Guide
You may encounter situations where system storage is exhausted, for
example:
- If many ILE programs are activated (that is, called at least once).
- If ILE programs that use large amounts of static storage run in the OPM
default activation group (storage is not reclaimed until the job ends).
- If many service programs are called into named activation groups
(resources are only reclaimed when the job ends).
In such situations, you may want to reclaim system resources that are no
longer needed for a program, but are still tied up because an activation group
has not been deleted. You have the following options:
The RCLRSC command works differently depending on how the program was
created:
- For OPM programs, the RCLRSC command closes open files and frees static
storage.
- For ILE programs that were activated into the OPM default activation group
(because they were created with *CALLER), The RCLRSC command closes
files and reinitializes storage. However, the storage is not
released.
- For ILE programs associated with a named activation group, the RCLRSC
command has no effect. You must use the RCLACTGRP command to free
resources in a named activation group.
[ Top of Page | Previous Page | Next Page | Table of Contents ]
(C) Copyright IBM Corporation 1992, 2005. All Rights Reserved.