Resize a dataset allocated to CICS regions
search cancel

Resize a dataset allocated to CICS regions

book

Article ID: 451695

calendar_today

Updated On:

Products

PDSMAN

Issue/Introduction

Encountering a "dataset full" condition on a critical partitioned data set that is actively allocated by one or more CICS regions. 
Need to resize or expand the library to prevent potential abends (e.g., B37 abends) without requiring a restart of the CICS regions.

Environment

z/os

CICS

PDSMAN

Resolution

Expand the space or add extents to the data set while it remains allocated to CICS. Depending on the current product configuration, choose one of the following methods:

  1. Method 1: Using PDSMAN ADDSPACE command The ADDSPACE command adds a new extent to an existing partitioned or sequential data set.
    In the Data Set List display, enter the ADDSPACE command.
    Specify the required size using CYL(n) or TRK(n) where n is the number of cylinders or tracks required.
    Execute the command: ADDSPACE CYL(n) or ADDSPACE TRK(n).
  2. Method 2: Using Ezyedit ALTERDIR If running short on directory space rather than physical space, use the ALTERDIR command to add directory space dynamically.
  3. Method 3: Using PDSM Rules implement the ADDSPACE function within PDSMINIT to handle space conditions automatically:
    Update the PDSMINIT rules to include the dataset: ALTERSPACE DSN=####, ADDSPACE=(CYL,5), MAXEXT=16
    Issue the command F PDSM,NEWRULES to apply the changes.

 

Additional Information

Note: These operations do not damage existing data or require CICS region restarts, as they manage the allocation at the PDS level.