Database Surveyor utility (DFSPRSUR)
Use the Surveyor utility to scan all or part of an HDAM or a HIDAM database to determine whether a reorganization is needed.
The following figure shows the input to and output from the Database Surveyor utility.

The Surveyor utility produces a report describing the physical organization of the database. The report includes the size and location of areas of free space. When you do a partial reorganization, you will know where free space exists into which you can put your reorganized database records.