09.07.2015 Views

z/OS V1R6.0 DFSMS Access Method Services for Catalogs

z/OS V1R6.0 DFSMS Access Method Services for Catalogs

z/OS V1R6.0 DFSMS Access Method Services for Catalogs

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

EXAMINE//EXAMEX2 JOB//STEP1 EXEC PGM=IDCAMS//SYSPRINT DD SYSOUT=A//SYSIN DD *EXAMINE -NAME(KSDS01) -INDEXTEST -DATATEST/*Use the EXAMINE command to analyze both components of a key-sequenced dataset. Its parameters are:vvvvNAME, specifies the cluster name only.INDEXTEST, causes the index component to be examined.DATATEST, causes the data component to be examined.The default <strong>for</strong> ERRORLIMIT (it was not specified) allows detailed errormessages to be printed.Examine the Data Component of a User Catalog: Example 3This 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. Itsparameters are:vvvNAME, specifies the catalog name. The catalog must be connected to the mastercatalog.NOINDEXTEST, specifies that the index component is not to be examined.DATATEST, causes the data component to be examined.v ERRORLIMIT(1000), restricts the printing of detailed error messages to 1000errors.Chapter 22. EXAMINE 247

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!