z/OS DFSMS Access Method Services Commands
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


DIAGNOSE

z/OS DFSMS Access Method Services Commands
SC23-6846-01

The DIAGNOSE command scans a basic catalog structure (BCS) or a VSAM volume data set (VVDS) to validate the data structures and detect structure errors.

See EXAMINE for information on the EXAMINE command, which can inspect the structural integrity of the data or index component of a key-sequenced data set cluster or of a BCS.

The syntax of the DIAGNOSE command is:

Command Parameters
DIAGNOSE {ICFCATALOG|VVDS}
  {INFILE(ddname)| INDATASET(datasetname)}
  [COMPAREDD(ddname [ ddname...])|
   COMPAREDS(dsname [ dsname...])]
  [DUMP|NODUMP]
  [ERRORLIMIT(value)]
  [EXCLUDE
    ({ENTRIES(entryname[ entryname...])|
    CATALOG(catalogname[ catalogname...])| LEVEL(level)})|
  INCLUDE
    ({ENTRIES(entryname[ entryname...])|
    CATALOG(catalogname[ catalogname...])| LEVEL(level)})]
  [LIST|NOLIST]
  [OUTFILE(ddname)]
   

DIAGNOSE can be abbreviated: DIAG

Because the DIAGNOSE command checks the content of the catalog records, and the records might, for example, contain damaged length field values, there is a possibility that the job will abend. For detailed information on using DIAGNOSE, see z/OS DFSMS Managing Catalogs.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014