Specifying attributes to handle space constraints during allocation

You can specify attributes on Page 2 of the Data Class Define panel to indicate whether or not to retry new data set allocations or extends on new volumes that fail due to space constraints.

During allocation, there might not be enough space on a volume to meet the requested space. SMS volume selection can sometimes solve this problem by trying all candidate volumes before failing the allocation. You can also use the Space Constraint Relief and Reduce Space Up to (%) attributes to request that an allocation be retried if it fails due to space constraints. SMS retries the allocation by combining any of the following:
Space Constraint Relief
Specifies whether or not to retry an allocation that was unsuccessful due to space constraints on the volume. Before it is retried, the allocation is attempted on all candidate volumes. Space Constraint Relief applies only to system-managed data sets, Start of changeboth primary and secondary allocationEnd of change. Specify one of the following:
Y
Specifies that SMS retry the allocation.
N
Start of changeSpecifies that SMS does not retry the allocation if the original amount cannot be acquired.

This is the default.

End of change
If you specify Y, SMS begins the retry process. This is a one or two-step process, depending on the volume count you specified. For JCL allocations, SMS determines the volume count by taking the maximum of the unit, volume, or volser count. If these are not specified, SMS picks up a volume count from the data class. If there is no data class, SMS defaults the volume count to 1.
  • If the volume count is 1, SMS retries the allocation after reducing the requested space quantity based on the Reduce Space Up to (%) attribute. SMS simultaneously removes the 5-extent limit, so that SMS can use as many extents as the data set type allows.

  • If the volume count is greater than 1:
    1. SMS uses a best-fit volume selection method to spread the primary quantity over more than one volume (up to the volume count).
    2. If this fails, SMS continues with the best fit method after reducing the primary quantity and removing the 5-extent limit.
    Tip: You can remove the 5-extent limit without reducing the primary quantity by specifying 0 for the Reduce Space Up to (%) attribute.

For extends to new volumes, space constraint relief is strictly a one-step process. If regular volume selection has failed to allocate space, SMS reduces space or removes the 5-extent limit, but does not try the best-fit method.

The maximum number of extents per volume and the maximum number of volumes per data set vary depending on data set type as follows:
  • A basic-format or large-format sequential data set and a direct data set can have up to 16 extents per volume and up to 59 volumes.
  • An extended-format sequential data set can have up to 123 extents per volume and up to 59 volumes. Either all or none of these volumes can be arranged into stripes for parallel processing.
  • A non-system-managed VSAM data set can have up to 255 extents per component and up to 59 volumes.
  • A system-managed VSAM data set can have up to 255 extents per stripe and up to 59 volumes. This extent limit can be removed if the associated data class has extent constraint removal specified. Up to 16 volumes at a time can be read or written in parallel due to striping.
  • A PDS can have up to 16 extents and only one volume.
  • A PDSE can have up to 123 extents and only one volume.
  • An HFS data set can have up to 123 extents per volume and up to 59 volumes.
Reduce Space Up to (%)
Start of changeSpecifies the largest amount by which you want to reduce the requested space quantity when the allocation is retried. SMS attempts to allocate the largest possible space that satisfies the percentage. Valid values are 0 to 99, Start of changefor both the primary allocation amount and secondary allocation amount.End of change

You must also specify Y for the Space Constraint Relief attribute.

If you request space constraint relief but do not specify a percentage value (either 0 or blank), SMS does not reduce the requested space quantity. This implies that your application cannot tolerate a reduction in the space to be allocated, so only the 5 extent limit is relieved.

Start of changeFor VSAM data sets the reduced amount is a multiple of the CA size.End of change

End of change
Start of changeGuaranteed Space ReductionEnd of change
Start of changeSpecifies whether or not space reduction on guaranteed space allocations is permitted. Specify one of the following:
Y
Specifies that space reduction on guaranteed space allocations is permitted.
N
Specifies that space reduction on guaranteed space allocations is not permitted.

This is the default.

End of change
When you request space constraint relief in one or more data classes, you might notice any of the following: