Reorganizing metadata catalogs

You can reorganize a zFS or sequential metadata catalog to reclaim wasted disk space.

About this task

You can reorganize zFS and sequential metadata catalogs. You cannot reorganize linear metadata catalogs.

The REORG operation compresses the contents of an existing metadata catalog by moving the metadata catalog. The new version of the metadata catalog does not contain the fragmented space that occurs as tables and other objects are dropped from the metadata catalog.

In this operation, the INCAT and ININDX DD statements reference the metadata catalog that is being reorganized and the CACCAT and CACINDX DD statements refer to the new metadata catalog that the REORG operation will create. If these statements reference an existing metadata catalog, the REORG operation replaces the content of this catalog.

If corruptions are detected in the source metadata catalog, the REORG operation attempts to minimize the loss of data when transferring the corrupted definitions from the source metadata catalog into the target metadata catalog.

After processing finishes, a summary analysis report is generated. This report identifies the contents of and the current space utilization of the new metadata catalog.

Note: If the target metadata catalog is not large enough, CACCATUT issues informational message 0x00710401.

Procedure

  1. Customize and run member CACCATUT of the SCACSAMP data set.
    1. Provide a job card that is valid for your site.
    2. Change the CAC parameter to installed high level qualifier.
    3. Change the OLDCAT parameter to identify the high level qualifier of the input metadata catalogs.
    4. Change the NEWCAT parameter to identify the high level qualifier of the output metadata catalogs.
    5. For the PARM keyword of the EXEC statement, specify REORG.
  2. Update the JCL for the Classic data server to point to the new metadata catalog.