516 IBM System Storage DS6000 Series: Copy Services with IBM System z
DFSMSdss: Dump and copy examples
Example A-3 shows a DFSMSdss full volume dump using Concurrent Copy. No special action
is required to perform a restore operation afterwards.
Example: A-3 DFSMSdss full volume dump with Concurrent Copy
//DSSJOB JOB ...
//DUMPSTEP EXEC PGM=ADRDSSU
//SYSPRINT DD SYSOUT=*
//DASD DD UNIT=SYSDA,VOL=SER=(SSDASD),DISP=OLD
//TAPE DD UNIT=TAPE,VOL=SER=(TAPE01,TAPE02,TAPE03),LABEL=(1,SL),
// DISP=(NEW,KEEP),DSN=USER.BACKUP
//SYSIN DD *
DUMP FULL INDDNAME(DASD) OUTDDNAME(TAPE) -
COMPRESS CONCURRENT
/*
Example A-4 shows a DFSMSdss logical data set dump of three fully qualified data sets using
Concurrent Copy. No special action is required to perform a restore operation after a
Concurrent Copy dump operation.
Example: A-4 Logical data set dump operation with CONCURRENT
//JOB6 JOB ...
//DUMPSTEP EXEC PGM=ADRDSSU
//SYSPRINT DD SYSOUT=*
//TAPE DD UNIT=TAPE,VOL=SER=(TAPE01,TAPE02,TAPE03),LABEL=(1,SL),
// DISP=(NEW,KEEP),DSN=USER.BACKUP
//SYSIN DD *
DUMP DATASET(INCLUDE(USER.LOG,USER.TABLE,USER.XREF)) -
OUTDDNAME(TAPE) OPTIMIZE(4) CONCURRENT
/*
Example A-5 shows a DFSMSdss logical data set copy using Concurrent Copy.
Example: A-5 Data set Copy with CONCURRENT
//DSSJOB JOB ...
//COPYSTEP EXEC PGM=ADRDSSU
//SYSPRINT DD SYSOUT=*
//SYSIN DD *
COPY DATASET(INCLUDE(USER.LOG,USER.TABLE,USER.XREF)) -
OUTDYNAM(OVOL01,OVOL02,OVOL03,OVOL08) -
ALLDATA(*) ALLEXCP CONCURRENT -
STORCLAS(BACKUP) RENAMEUNCONDITIONAL(USERX)
/*
DFSMSdss: FlashCopy example
Example A-6 shows an example of the use of FlashCopy and Concurrent Copy together. It is
a full volume copy between two volumes in the same LSS. As such, they were eligible for
FlashCopy, and FlashCopy was used as shown by the message ADR806I. At the same time,
the CC keyword is specified so that you obtain both ADR806I and ADR734I Concurrent Copy
initialization successful messages.
Example: A-6 Using FlashCopy and Concurrent Copy together
//STEPT40 EXEC PGM=ADRDSSU
//SYSPRINT DD SYSOUT=*
//SYSUDUMP DD SYSOUT=V,OUTLIM=3000