How can unused space allocation be returned to the system when a dataset is closed ?
-
RETURN
-
RLSE
-
CONTIG
-
CLOSE
The SPACE parameter's RLSE (release) sub-parameter tells the system to return unused allocated space back to the system when the dataset is closed. When you specify SPACE=(...,,RLSE), any space that was allocated but not actually used by data is released. This is important for managing DASD space efficiently. Option A is not a valid parameter. CONTIG requests contiguous space. CLOSE is a statement, not a space-related parameter.
RLSE is the correct answer. In JCL, the SPACE parameter's RLSE sub-parameter tells the system to release any unused (allocated but not written-to) space in a dataset back to the system when the dataset is closed, freeing it for other jobs. RETURN isn't a valid SPACE sub-parameter keyword for this purpose, CONTIG requests contiguous space allocation (not release), and CLOSE is just the DD/dataset closing event, not a space-management option. RLSE is commonly paired with CONTIG or ROUND in real JCL DD statements to reclaim over-allocated space.