HP StorageWorks XP24000/XP20000 for FlashCopy Mirroring Software User Guide (T5240-96012, May 2011)
When the COPY FULL command is issued, DFSMSdss checks whether the selected volumes meet
the requirements for use as Version 2 volumes, and automatically determines whether to process
the requested job via the host. DFSMSdss processes the COPY FULL command in a few seconds
and establishes the Version 2 relationship simultaneously as it completes the processing. The
completion of this process is not reported to the user.
• “COPY FULL Command (Version 2 )” (page 90) shows an example of the DFSMSdss command
for processing the Version 2 volume copy operation.
• “COPY FULL Command (FCCGFREEZE)” (page 90) shows an example of the COPY FULL
Command (FCCGFREEZE).
• “CGCREATE Command” (page 90) shows an example of the CGCREATE Command.
• “COPY FULL Command (FCINCREMENTAL)” (page 90) shows an example of the COPY
FULL command with FCINCREMENTAL.
Figure 45 COPY FULL Command (Version 2 )
//COPY FULL 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 FULL INDYNAM (FCPY05) OUTDYNAM (FCPY06) COPYVOLID
/*
Figure 46 COPY FULL Command (FCCGFREEZE)
//SYSPRINT DD SYSOUT=*
//VOL1 DD UNIT=3390,VOL=SER=FCV200,DISP=OLD
//VOL2 DD UNIT=3390,VOL=SER=FCV201,DISP=OLD
//SYSIN DD*
COPY FULL INDDNAME(VOL1) OUTDDNAME(VOL2)
FASTREP(REQ) FCCGFREEZE
Figure 47 CGCREATE Command
//SYSPRINT DD SYSOUT=*
//SYSIN DD*
CGCREATE ACCESSVOLUME(FCV200) FCCGVERIFY(FCV200)
Figure 48 COPY FULL Command (FCINCREMENTAL)
//SYSPRINT DD SYSOUT=*
//VOL1 DD UNIT=3390,VOL=SER=FCV200,DISP=OLD
//VOL2 DD UNIT=3390,VOL=SER=FCV201,DISP=OLD
//SYSIN DD *
COPY FULL INDDNAME(VOL1) OUTDDNAME(VOL2)
FCINCREMENTAL
If you execute the command as shown in “COPY FULL Command (Version 2 )” (page 90), all
data in the volume numbered FCPY05 is copied to the volume numbered FCPY06.
When the DFSMSdss command COPY FULL is executed, all the datasets on the S-VOL are copied
to the T-VOL (see “Copying All Datasets Using the COPY FULL Command (Version 2)” (page 91)).
A volume area that is not allocated as a dataset is not copied.
90 Performing Version 2 Operations