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.

Figure 1. Database Surveyor utility (DFSPRSUR)
DFSPRSUR input: VSAM or OSAM database, IMS.DBDLIB, IMS.PSBLIB, and IMS.ACBLIB. Output: report.

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.