SPACRLSE—release data set space at close (used with Allocation)
The SPACRLSE function causes unused space in physical sequential data sets to be released when the data set is closed.
If space is not estimated accurately, data sets can be allocated with more space than they actually need. Excessive space requests are frequently made when the expected data set size is not known, particularly to avoid abending with a space-related problem. While z/OS provides a facility to release unused space from a new data set, you must request this facility by using the RLSE subparameter of the SPACE parameter in JCL. If RLSE is not specified in the JCL, the extra space in the data set is not freed until the data set is deleted or the storage administrator manually searches for and releases that space.
Excessive space allocations consume significant DASD space, causing other jobs to fail (for lack of space) and requiring the purchase of extra DASD devices.
The SPACRLSE function allows automated release of unused space, regardless of JCL specifications.
For more information, see: