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


Example 3: logical data set dump operation with catalog filtering

z/OS DFSMSdss Storage Administration
SC23-6868-01

//JOB3     JOB   accounting information,REGION=nnnnK
//STEP1    EXEC  PGM=ADRDSSU
//TAPE     DD    UNIT=3480,VOL=SER=TAPE04,
//  LABEL=(1,SL),DISP=(NEW,CATLG),DSN=USER3.BACKUP
//SYSPRINT DD    SYSOUT=A
//SYSIN    DD    *
 DUMP OUTDD(TAPE) -
   DS(INCL(USER1.**))
/*

All data sets cataloged in the standard search order whose first-level qualifier is USER1 are to be dumped. Because some of these data sets are multivolume, source DASD volumes are not specified, resulting in data set selection by catalog.

Example 3 can be modified as follows to dump only data sets changed since the last backup. In addition, data sets that end with a qualifier of LISTING are not to be dumped (EXCL(**.LISTING)).
//SYSIN   DD  *
 DUMP OUTDD(TAPE) -
   DS(INCL(USER1.**) -
      EXCL(**.LISTING) -
      BY((DSCHA EQ 1)))
/*

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014