Expand - Increasing size
In the mainframe context, "expand" primarily refers to increasing the allocated size or capacity of a resource, such as a dataset, a storage area, or a system component, to accommodate more data or workload. This often involves acquiring additional storage extents on `DASD` or increasing defined virtual storage limits.
Key Characteristics
-
- Extent-based Allocation: For
DASDdatasets, expansion typically means allocating additional extents on a volume, up to a maximum number of extents per dataset (e.g., 16 fornon-VSAMon a single volume, or 255 forVSAMandSMS-manageddatasets). - Dynamic vs. Explicit: Expansion can occur dynamically (e.g., a
VSAMdataset extending automatically as data is added) or require explicit action (e.g., modifyingJCLSPACEparameters for asequential datasetorPDS). - Virtual Storage Expansion: Refers to increasing the amount of virtual storage available to an
address space,region(e.g.,CICS,IMS), or system component, often managed byz/OSservices. - Dataset Attributes: The ability and parameters for expansion are often governed by dataset attributes defined in
JCL(SPACE=(TRK,(primary,secondary))) orIDCAMS DEFINEstatements forVSAMdatasets (CYLINDERS(primary secondary)). - System Limits: Expansion is always constrained by available physical resources (e.g.,
DASDspace, real memory) and system-defined limits, such as maximumextentsorregionsizes. - Capacity on Demand (CoD): At the hardware level, "expand" can mean activating pre-installed, but inactive, processors or memory via
Capacity on Demandfeatures onzSystems.
- Extent-based Allocation: For
Use Cases
-
- Dataset Growth: A
sequential datasetorPDS/PDSEreaching its primary allocation limit and requiring additionalextentsto store more records, triggered by a write operation. VSAMFile Extension: AVSAM KSDSorESDSautomatically extending its allocatedCIs(Control Intervals) andCAs(Control Areas) as new records are inserted, provided itsDEFINEparameters allow for secondary allocation.CICSRegion Storage: Increasing theDSA(Dynamic Storage Area) or other storage pools within aCICSregion to handle more transactions, larger working sets, or increased concurrent users.JCLSPACEParameter Adjustment: Modifying thesecondary allocationin aJCLDDstatement (e.g.,SPACE=(CYL,(10,5))) for a new or existing dataset to allow for more growth without manual intervention.IMSDatabase Expansion: Adding newdata setsto anIMSdatabase or increasing the size of existing ones to accommodate more segments and maintain performance.
- Dataset Growth: A
Related Concepts
Expansion is intrinsically linked to storage management and resource allocation in z/OS. For DASD datasets, it relies on the Volume Table of Contents (VTOC) to track extents and interacts with Data Facility Product (DFP) components for space allocation. It's also closely related to virtual storage management and the concept of address spaces, where regions can be expanded to accommodate application needs. The ability to expand is a critical design consideration for scalability and high availability of mainframe applications and systems.