Previous Topic: CLN Command—Clean VolumeNext Topic: DDT Command—Convert Date


DC Command—Display Volume Serial Numbers Associated with a Data Set

Use the DC command to list all volume serial numbers associated with a specific data set in the z/OS catalog.

When the data set is not a part of GDG, this command has the following format:

DC dsn

When the data set is a part of GDG, this command has the following format:

DC dsn (g)
dsn

Specifies the name of the data set.

(g)

Specifies the generation number if the data set is part of a Generation Data Group (GDG). This is required if the data set is part of a GDG.

Valid values: (0) is the current version; (-1) is older than (0); (-2) is older than (-1), and so on.

Example: JCL for the DC Command

//TLMSINQR  JOB
//TLMSINQR  EXEC CATINQR
//CAIIPT    DD   *
DC CAI.CUSTOMER.ACCT.DAILY(-1)
//