Selecting the right subpool for your virtual storage request

Conceptually, a subpool is an area of virtual storage with a certain set of attributes, created by MVS™ to satisfy a request for virtual storage. A two-gigabyte virtual storage address space is divided into multiple areas, each intended to support specific system and user needs. MVS provides subpools within the following areas of the address space:

For more information about these virtual storage areas as well as information about virtual storage in general, see the virtual storage overview in z/OS MVS Initialization and Tuning Guide.

Besides being in a particular area in an address space, subpools are distinguished by other attributes, such as which programs can access them, whether the storage can be paged out, and how long the storage persists. To select the right subpool, you need to examine these attributes and determine which ones are best suited for your needs. Your choice of subpool depends on several factors:
This information discusses the considerations involved in determining the appropriate subpool for your storage request, such as:

Be sure also to read the discussion of subpools in z/OS MVS Programming: Assembler Services Guide. The information in z/OS MVS Programming: Assembler Services Guide is not repeated in this discussion.

Alternatives to Using Subpool Storage

Data spaces and hiperspaces provide an alternative means of obtaining and sharing storage. For instance, you can use a SCOPE=ALL data space to hold data to be accessed by all programs running in your address space. You can also use a SCOPE=COMMON data space to share data among programs in different address spaces instead of using common storage for that purpose. For more information about creating and using data spaces and hiperspaces, see z/OS MVS Programming: Extended Addressability Guide.