Figure 68 example of dfsmsdss command (copy ds), Dfsmsdss copy command options, 68 example of dfsmsdss command (copy ds) – HP XP Business Copy Software User Manual
Page 129
ShadowImage for z/OS user guide 129
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.
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 68
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
DUMPCONDITIONING is used when you want to specify that the purpose of the copy operation is to
create a backup copy and not for using the copied volume for application.
•
FCNOCOPY
This command sets the copy operation mode to NOCOPY mode. When this command is specified, the
background copying process is omitted from the copy operation.
•
FASTREPLICATION
//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)
FASTREPLICATION((REQUIRED) -
FCNOCOPY DEBUG (FRMSG(DETAILED))
/*