gtpm1m46TPF V4R1 Migration Guide: 3.1 to 4.1

Getting and Releasing Working Storage

With the TPF 4.1 system, there is a new limit on working storage. Even though the amount of working storage has increased substantially, the amount of private working storage available to a single ECB is limited to two 1-MB areas, and all ECBs share common storage.

There are two ways to get private storage:

If an ECB tries to use more private storage than this at any given time, a dump will be issued and the ECB will exit.

The only solution to a single ECB trying to use more than the available amount of private storage is to somehow divide the single ECB into multiple ECBs. The 1-MB private area structures are an integral and architected part of the TPF 4.1 system.

If the ECB holds main storage blocks when it is exited, the TPF 4.1 system releases them. In the TPF 4.1 system, this is the most efficient way for the ECB to release this storage.