Multiple choice technology mainframe

If you do not know the space required by a dataset then you allocate the maximum space to it. How do you free up the unused spaces.

  1. Use Unallocate

  2. Use RLSE parameter in SPACE

  3. both of the above

  4. none of the above

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

The RLSE (release) parameter in the SPACE statement tells the system to release any unused space back to the pool after dataset allocation. This is useful when you over-allocate space to be safe but want to conserve storage resources. Without RLSE, the entire allocated space remains reserved even if partially unused.

AI explanation

When a dataset is over-allocated because the exact space needed wasn't known upfront, coding the RLSE sub-parameter on the SPACE parameter tells the system to release any unused allocated space (down to the high-water mark) once the dataset is closed. This reclaims wasted disk space without needing to reallocate the dataset from scratch.