DISPLAY DSN

The DISPLAY DSN command displays data set and extent information for data sets that are selected according to the specified filter.

Data set masks are specified according to the rules for masking within the group definition statement. A ’**’ matches any character string through any number of data set name qualifiers. A ’*’ matches any character string within a single qualifier. If the filter is omitted, all data sets are displayed.

Syntax: DISPLAY DSN [groupname | ccuu | dsn-mask]

Example: D DSN 695
GZD1101I D DSN  695
DSNAME SOURCE->TARGET                         GROUP
  EXT  SRC/TGT      CCHH    STATUS    TRKS/%  DSCB-CCHHR
DBERA.BLAH                                    TEST3
 -> DBERA2.BLAH
  1 9813(UWD013) 00350000  MIRROR        30  0000000105
    9812(U@C012) 002C0000              100%  0000000104
DBERA.BLAH2                                  TEST3
 -> DBERA2.BLAH2
  1 9813(UWD013) 003A0000  MIRROR        30  0000000114
    9812(U@C012) 00400000              100%  0000000122
DBERA.DOPEY.DB                               TEST3
 -> DBERA2.DOPEY.DB
DBERA.DOPEY.DB.DATA                          TEST3
 -> DBERA2.DOPEY.DB.DATA
  1 9813(UWD013) 00370000  MIRROR        45  000000010E
    9812(U@C012) 003A0000              100%  0000000120
DBERA.MORE.BLAH                              TEST3
 -> DBERA2.MORE.BLAH
  1 9813(UWD013) 00460000  MIRROR      1500  0000000110
    9812(U@C012) 00CF0000              100%  0000000119
DBERA.SUPER.BLAH                             TEST3
 -> DBERA2.SUPER.BLAH
  1 9813(UWD013) 00AA0000  MIRROR       150  0000000111
    9812(U@C012) 002E0000              100%  000000011A
DBERA.VSAM.DB                                TEST3
 -> DBERA2.VSAM.DB
DBERA.VSAM.DB.DATA                           TEST3
 -> DBERA2.VSAM.DB.DATA
  1 9813(UWD013) 00B40000  MIRROR        45  0000000113
    9812(U@C012) 003D0000              100%  0000000121
Along with the source data set name, group name, and the temporary target data set name, two lines are formatted for the following:
  • Each data set extent that shows the source and target devices (CCUU and volser)
  • Source and target cylinder and head (CCHH) locations
  • Status, number of tracks, percent complete, and the CCHHR of the source and target DSCBs within their respective VTOCs.
Note: The DISPLAY DSN command only shows the data set and extent information after the specified group is activated for the first time. Before that, the control blocks that drive the display have not been built.