Examine the Index Component of a User Catalog: Example 1

This example shows how to determine whether the index component of your catalog has structural errors.
//EXAMEX1   JOB
//STEP1     EXEC   PGM=IDCAMS
//SYSPRINT  DD     SYSOUT=A
//SYSIN     DD     *
     EXAMINE -
            NAME(ICFCAT.V338001) -
            ERRORLIMIT(0)
/*
The EXAMINE command is used, in this example, to analyze the index component of a catalog. Its parameters are:
  • NAME, specifies the catalog name. The catalog must be connected to the master catalog.
  • INDEXTEST, specified by default.
  • ERRORLIMIT(0), suppresses the printing of detailed error messages.