HP P9000 for Compatible FlashCopy Mirroring User Guide (AV400-96388, October 2011)
Example 3 COPY FULL Command
//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
/*
Example 4 COPY FULL Command (FCCGFREEZE)
//SYSPRINT DD SYSOUT=*
//VOL1 DD UNIT=3390,VOL=SER=FC00,DISP=OLD
//VOL2 DD UNIT=3390,VOL=SER=FC01,DISP=OLD
//SYSIN DD*
COPY FULL INDDNAME(VOL1) OUTDDNAME(VOL2)
FASTREP(REQ) FCCGFREEZE
Example 5 CGCREATE Command
//SYSIN DD*
CGCREATE ACCESS-VOLUME(FC00) FCCGVERIFY(FC00)
The following example shows the COPY FULL command with FCINCREMENTAL.
Example 6 COPY FULL Command (FCINCREMENTAL)
//SYSPRINT DD SYSOUT=*
//VOL1 DD UNIT=3390,VOL=SER=FC00,DISP=OLD
//VOL2 DD UNIT=3390,VOL=SER=FC01,DISP=OLD
//SYSIN DD *
COPY FULL INDDNAME(VOL1) OUTDDNAME(VOL2)
FCINCREMENTAL
If you execute the command as shown in Example 3 “COPY FULL Command”, the entire data in
a volume numbered FCPY05 is copied to a 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 the following figure). Volume area that is not allocated as a dataset is not copied.
Figure 24 Copying All Datasets Using the COPY FULL Command
Establishing Compatible FlashCopy relationships 45