Hitachi ShadowImage for z/OS user guide (HIT9503-96004, June 2006)

ShadowImage for z/OS user guide 117
When DFSMSdss command “COPYFULL” is executed, all the datasets on the S-VOL are copied to the
T-VOL (see Figure 64). Volume area that is not allocated as a dataset is not copied.
Figure 64 Copying All Datasets Using DFSMSdss Command (COPYFULL)
Creating FlashCopy Mirror Version 2 Pairs by Dataset Copying
The DFSMSdss command used to process FlashCopy Mirror Version 2 dataset copy operation is COPY DS.
When the COPY DS command is issued, DFSMSdss checks whether the selected volumes meet the
requirements for use as FlashCopy Mirror Version 2 volumes or not, and automatically determines whether
to process the requested job via the host or not. DFSMSdss processes the COPY DS command in a few
seconds and establishes the FlashCopy Mirror Version 2 relationship simultaneously as it completes the
processing. The completion of this process is not reported to the user.
Figure 65 shows an example of the DFSMSdss command for processing FlashCopy Mirror Version 2
dataset copy operation. In this example, the dataset on the volume numbered FCPY05 is copied to a
volume numbered FCPY06.
Figure 65 Example of DFSMSdss Command (COPY DS)
FlashCopy Mirror Version 2 allows you to establish up to 16 pairs simultaneously from a single copy
source extent.
DFSMSdss Copy Command Options
COPYVOLID
COPYVOLID command option allows you to select whether you want to copy the ID label (VOLSER:
Volume Serial Number). When you specify COPYVOLID, the ID label of the volume set as the source is
copied to the volume set as the target. When COPYVOLID command is executed, the volume used as
the target is set to offline automatically.
The COPYVOLID command had to be specified for volumes controlled by SMS. However, when
DUMPCONDITIONING command added by APAR OW45674 is specified, the VOLSER of the source
volume is copied to the backup tape or disk. In this case, there is no need of specifying COPYVOLID to
copy the volume label.
NOTE: COPYVOLID and DUMPCONDITIONING cannot be specified at the same time.
DUMPCONDITIONING
//DSSCOPY JOB
//*
//INSTIMG EXEC PGM=ADRDSSU
//SYSPRINT DD SYSOUT=*
//SYSUDUMP DD SYSOUT=V,OUTLIM=3000
//VOL1 DD UNIT=3390,VOL=SER=FCPY05,DISP=OLD
//VOL2 DD UNIT=3390,VOL=SER=FCPY06,DISP=OLD
//SYSIN DD *
COPY DS(INCL(SAM020.**)) INDDNAME(FCPY05) OUTDDNAME(FCPY06)
FASTREPRICATION(REQUIRED) -
FCNOCOPY DEBUG (FRMSG(DETAILED))
/*