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


Example 4: dump and restore for storage management subsystem (SMS) conversion

z/OS DFSMSdss Storage Administration
SC23-6868-01

//JOB1      JOB  accounting information,REGION=nnnnK
//STEP1     EXEC PGM=ADRDSSU
//SYSPRINT  DD   SYSOUT=*
//DTAPE01   DD   DISP=(,CATLG),DSN=V338001.USER3.BACKUP,
//   LABEL=(1,SL),UNIT=3480,VOL=SER=TAPE01
//SYSIN     DD   *
 DUMP -
      DS(INC(**)) -
          LOGINDYNAM ( -
              (338001) -
              ) -
          DELETE PURGE COMPRESS -
          OUTDDNAME (DTAPE01)
/*
This initial part of Example 4: dump and restore for storage management subsystem (SMS) conversion dumps all the single-volume data sets on the non-SMS volume 338001 to TAPE01 with the DELETE option. The DELETE and PURGE keywords are required to avoid duplications in the restore operation.
//SYSPRINT  DD   SYSOUT=*
//DTAPE01   DD   DISP=(OLD,KEEP),DSN=V338001.USER3.BACKUP,
//   LABEL=(1,SL),UNIT=3480,VOL=SER=TAPE01
//SYSIN     DD   *
 RESTORE DS(INC(**)) -
   STORCLAS(SC01MJA1) -
   INDDNAME (DTAPE01)
/*

This second part of Example 4: dump and restore for storage management subsystem (SMS) conversion restores all of the data sets that were dumped in the first half of this example. Because no output volume is specified, most of the data sets will be allocated on SMS volumes throughout the system. The STORCLAS keyword indicates that the storage administrator wants the data sets to have a storage class of SC01MJA1. The ACS routines might or might not assign the target data sets that the storage class specified. All data sets that are not converted to SMS (ACS STORCLAS routine returns a null storage class) will be restored to the original volume.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014