z/OS DFSMSdfp Utilities
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


Example 2: List Non-indexed Volume Table of Contents

z/OS DFSMSdfp Utilities
SC23-6864-00

In this example, a non-indexed volume table of contents is listed in the first edited format. The edited listing is supplemented by an unedited listing of selected data set control blocks.
  //VTOCLIST JOB  ...
  //STEP1    EXEC PGM=IEHLIST
  //SYSPRINT DD  SYSOUT=A
  //DD2      DD  UNIT=disk,VOLUME=SER=111111,DISP=OLD
  //SYSIN    DD  *
       LISTVTOC   FORMAT,VOL=disk=111111
       LISTVTOC   DUMP,VOL=disk=111111,DSNAME=(SET1,SET2,SET3)
  /*
The control statements are as follows:
  • DD2 DD defines a device containing the specified volume table of contents.
  • SYSIN DD defines the control data set, which follows in the input stream.
  • The first LISTVTOC statement indicates that the volume table of contents on the specified disk volume is to be listed in edited form.
  • The second LISTVTOC statement indicates that the data set control blocks representing data sets SET1, SET2, and SET3 are to be listed in unedited form.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014