z/OS DFSMSdss Storage Administration
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


DEFRAG command for DFSMSdss

z/OS DFSMSdss Storage Administration
SC23-6868-01

When you enter the DEFRAG command, DFSMSdss relocates data set extents on a DASD volume to reduce or eliminate free space fragmentation. You can specify which data sets, if any, should be excluded from relocation. When the DEFRAG operation completes, a summary report is created to show the before and after statistics of the volume. The report includes the fragmentation index, the size of the largest free space extent, and so on.

The amount of time it takes for a DEFRAG operation to complete depends on the size and fragmentation of the volume being processed. In general, larger or more fragmented volumes take longer to process.

Before using DEFRAG on a volume, you might want to use the CONSOLIDATE command to consolidate the extents of any multiple extent data sets on the volume.

Attention: Canceling the DEFRAG command is strongly discouraged, because doing so can damage data in numerous and unpredictable ways. Before using the DEFRAG command, consider how long the operation will take by evaluating the size and the fragmentation of the volume being processed. To limit the duration of the DEFFRAG operation, using the MAXTIME keyword is recommended.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014