Examine the Data Component of a User Catalog: Example 3

This example shows how to determine whether your catalog has structural errors.
//EXAMEX3   JOB
//STEP1     EXEC    PGM=IDCAMS
//SYSPRINT  DD      SYSOUT=A
//SYSIN     DD      *
     EXAMINE -
            NAME(ICFUCAT1) -
            NOINDEXTEST -
            DATATEST -
            ERRORLIMIT(1000)
/*
Use the EXAMINE command to analyze the data component of a catalog. Its parameters are:
  • NAME, specifies the catalog name. The catalog must be connected to the master catalog.
  • NOINDEXTEST, specifies that the index component is not to be examined.
  • DATATEST, causes the data component to be examined.
  • ERRORLIMIT(1000), restricts the printing of detailed error messages to 1000 errors.