z/OS DFSMSdss Storage Administration
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


Example 4: logical data set dump operation with VTOC filtering

z/OS DFSMSdss Storage Administration
SC23-6868-01

//JOB4     JOB   accounting information,REGION=nnnnK
//STEP1    EXEC  PGM=ADRDSSU
//SYSPRINT DD    SYSOUT=A
//DASD1    DD    VOL=SER=338001,UNIT=3380,DISP=OLD
//TAPE     DD    UNIT=3480,VOL=SER=TAPE04,
//  LABEL=(1,SL),DISP=(NEW,CATLG),DSN=USER3.BACKUP
//SYSIN    DD    *
      DUMP DATASET(INCLUDE(USER3.**)) -
      LOGINDDNAME(DASD1) -
      OUTDDNAME(TAPE) -
      DELETE PURGE
/*

All data sets on volume 338001 whose first qualifier is USER3 are included in a logical data set DUMP. DFSMSdss filters using the VTOC of volume 338001. Catalogs are also used, as needed, for multivolume and VSAM data sets.

The previous example can be modified as follows to dynamically allocate volume 338001 and to do SELECTMULTI processing. All single volume data sets on volume 338001 are included in a logical data set dump operation. SELECTMULTI(ANY) specifies that a cataloged data set residing on volumes 338001, 338003, and 338005 will be dumped even though 338003 and 338005 are not in the LOGINDYNAM volume list.
//JOB4     JOB   accounting information,REGION=nnnnK
//STEP1    EXEC  PGM=ADRDSSU
//SYSPRINT DD    SYSOUT=A
//TAPE     DD    UNIT=3480,VOL=SER=TAPE04,
//  LABEL=(1,SL),DISP=(NEW,CATLG),DSN=USER3.BACKUP
//SYSIN    DD    *
 DUMP DATASET(INCLUDE(**)) -
      SELECTMULTI(ANY) -
      LOGINDYNAM(338001) -
      OUTDDNAME(TAPE) -
      DELETE PURGE
/*

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014