A garbage collection performs several functions. It consolidates unused space in data sets, sets, and subsets and returns this space to the system. It can be used to reorder data sets to minimize access time. Finally, it can be used to generate a new set or automatic subset from an existing data set.
To perform a garbage collection, run the Reorganization program. The garbage collection process does not involve any changes to the database description; therefore, it does not require recompilation of the DASDL description, the DMSUPPORT library, or user programs.