Requesting data set information from the MCDS

Table 1 explains the output labels for a list of all data sets, all data sets that have the same first qualifier, or a specific data set.

Table 1. Output labels when you request MCDS information for data sets
Printer Output Label (OUTDATASET or SYSOUT) Terminal Label Description
DATASET NAME DSN This field contains the name of the user data set.

Start of changeMIG
VOLUMEEnd of change

MIGVOL This field contains the volume serial number of the migration volume the data set is on if the data set is currently migrated. If the data set is on more than one tape migration level 2 volume, this field contains the volume serial number of the first volume the data set is on. The field contains ONLINE if the data set has been recalled.

LAST REF
DATE

LAST REF This field contains the date of the most recent reference of the data set.

MIGRATED
DATE

MIG This field contains the date when the data set was last migrated.

TRKS
ALLOC

TRKS If the data set is currently migrated, this field contains the number of tracks allocated for the data set on the primary volume from which the data set migrated. If the data set is recalled, this field is the number of tracks allocated for the recalled data set.

QTY
2K BLKS

2K BLKS This field contains the size, in 2 KB blocks, of the data set on the migration volume. This field does not apply to tape.

TIMES
MIG

TIMES MIG This field contains the number of times DFSMShsm has migrated the data set. If migration cleanup has deleted the data set record, this is the number of times DFSMShsm has migrated the data set since the record was deleted.

DS
ORG

DSO This field contains the type of data set organization: PE (partitioned data set extended) PS (physical sequential), PO (partitioned), DA (BDAM), VS (VSAM), PSL (large format sequential) or *** if the data set organization is unknown.

SDSP
DS

SDSP A YES under this heading indicates that the data set resides in a small-data-set-packing data set.

QTY
16K BLOCKS

16K BLOCKS This field contains the size, in 16 KB blocks, of the data set on the tape migration level 2 volume. If the data set is recalled, but might be eligible for reconnection during a subsequent migration, this value contains the size, in 16 KB blocks, that the data set would be on the tape migration level 2 volume. This field does not apply to DASD migration volumes.

LAST MIG
VOLUME

LAST MIGVOL This field contains the volume serial number of the last tape migration level 2 volume if the data set spans more than one tape volume. *NONE* indicates that the data set does not span more than one tape volume. This field does not apply to DASD.
A field containing only **** is not applicable (see individual field descriptions in the sample lists.)

Figure 1 is a sample of a printer list from the MCDS for all data sets. If you request information for a specific data set, the list contains only the entry for that data set.

Start of change
Figure 1. Sample Printer List when You Specify DATASETNAME and MIGRATIONCONTROLDATASET
-----DFSMShsm CONTROL DATASET - MIGRATED DATA SET-- LISTING ----- AT 10:24:20 ON 15/06/02 FOR SYSTEM=381A

 DATASET NAME                             MIG     LAST REF  MIGRATED    TRKS      QTY   TIMES DS SDSP   QTY    LAST MIG 
                                          VOLUME     DATE     DATE     ALLOC    2K BLKS MIG   ORG DS  16K BLKS  VOLUME 

 G834921.RRDS.N.F40EX001.CLUSTER3         MIG101  15/04/02  11/02/02  00000020  0000006 00001 VS  NO  ********** ****** 
 G834921.RRDS.N.F40EX001.CLUSTER4         MIG101  15/04/02  11/02/02  00000020  0000006 00001 VS  NO  ********** ****** 
 H952762.PSF.N.F40EX001.DSET01            MIG101  15/04/02  11/02/02  00000019  0000048 00001 VS  NO  ********** ****** 
 H952762.PSF.N.F40EX001.DSET03            MIG101  15/04/02  11/02/02  00000019  0000048 00001 VS  NO  ********** ****** 
 H952762.PSF.N.F40EX001.DSET05            MIG101  15/04/02  11/02/02  00000019  0000048 00001 VS  NO  ********** ****** 
 H952762.PSF.N.F40EX001.DSET06            MIG101  15/04/02  11/02/02  00000019  0000048 00001 VS  NO  ********** ****** 
 H952762.PSF.N.F40EX001.VSPRIMER          MIG101  15/04/02  11/02/02  00000012  0000005 00001 VS  NO  ********** ****** 
End of change

To get a list of the VSAM data sets from the MCDS, specify the LIST command with the DATASETNAME SELECT(VSAM) parameters. The list of VSAM data sets contains the same header information and a list of object names by which you can automatically recall the data set.

Figure 2 is a sample printer list from the MCDS for VSAM data sets when you specify the DATASETNAME SELECT(VSAM) and MIGRATIONCONTROLDATASET parameters.

Start of change
Figure 2. Sample Printer List of VSAM Data Sets when You Specify DATASETNAME, SELECT(VSAM), and MIGRATIONCONTROLDATASET
----- DFSMShsm CONTROL DATASET - MIGRATED DATA SET-- LISTING ----- AT 10:22:08 ON 15/05/02 FOR SYSTEM=381A

 DATASET NAME                                     MIG    LAST REF  MIGRATED   TRKS     QTY   TIMES DS SDSP   QTY   LAST MIG 
                                                  VOLUME    DATE     DATE    ALLOC   2K BLKS MIG   ORG DS  16K BLKS  VOLUME 

G834921.KSDS.N.F40EX001.CLUSTER3                  MIG101 15/02/02  15/03/02 00000020 0000006 00001 VS  NO  ********** ****** 
  BASE D OBJECT NAME = G834921.KSDS.N.F40EX001.DATA3
  BASE I OBJECT NAME = G834921.KSDS.N.F40EX001.INDX3

G834921.KSDS.N.F40EX001.CLUSTER4                  MIG101 15/02/02  15/03/02 00000020 0000006 00001 VS  NO  ********** ****** 
  BASE D OBJECT NAME = G834921.KSDS.N.F40EX001.DATA4
  BASE I OBJECT NAME = G834921.KSDS.N.F40EX001.INDX4
End of change

Table 2 explains the output labels when you specify the DATASETNAME or LEVEL(qualifier) parameter. If you want only a summary list, specify the SUMMARY parameter of the LIST command.

Table 2. Output labels when you request a summary of the data sets in the MCDS
Printer Output Label (OUTDATASET or SYSOUT) Terminal Label Description

MIGRATED
DATA SETS

MIGRATED DATA SETS This field contains the number of data sets listed.

TRACKS
MIGRATED

TRACKS This field contains the sum of the tracks allocated for all the data sets listed (see TRKS ALLOC in Table 1).

BYTES
MIGRATED

BYTES This field contains the number of user bytes of data that migrated. It can be represented in units of K (1 024 bytes), M (1 048 576 bytes), G (1 073 741 824 bytes), or T (1 099 511 627 776 bytes).

Figure 3 is a sample printer list of data sets when you specify DATASETNAME and SUMMARY parameters.

Figure 3. Sample Printer List when You Specify DATASETNAME and SUMMARY
 - DFSMSHSM CONTROL DATASET - SUMMARY-- LISTING ----- AT 12:49:13 ON 01/04/15 FOR SYSTEM=3090

                                        MIGRATED          TRACKS      BYTES
                                        DATA SETS        MIGRATED     MIGRATED

                                        000000012K       000000218K   00001429K

----- END OF - MIGRATED DATASET - LISTING -----