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

116 ShadowImage for the XP1024/XP128/XP12000/XP10000
Using Compatible Mirroring for IBM FlashCopy Version 2 Host Commands
FlashCopy Mirror Version 2 supports both DFSMSdss commands and TSO PPRC commands to enable you
to perform FlashCopy Mirror Version 2 operations from the zSeries and S/390 host system. The operation
system versions that support FlashCopy Mirror Version 2 are OS/390 V2R10 and z/OS V1R0 and higher.
An appropriate PTF is necessary for each.
This user guide does not provide complete instructions for using commands from the host system. For
detailed information on using DFSMSdss and TSO PPRC commands, please refer to the following IBM user
documents.
z/OS® DFSMSdss Storage Administration Reference (SC35 0424)
z/OS® DFSMS Advanced Copy Services (SC35 0428)
z/OS® DFSMSdfp Advanced Services (SC26-7400)
DFSM Command Supported by Compatible Mirroring for IBM FlashCopy Version 2
This section only describes how to use the representative DFSMSdss commands related to FlashCopy Mirror
Version 2. For detailed information on using DFSMSdss commands, please refer to the following IBM user
document: z/OS DFSMSdss Storage Administration Reference (SC35 0424).
NOTE: FlashCopy Mirror Version 2 supports VSAM datasets. However, when the user specifies attributes
for the copy source extents that differ from those specified for the copy target extents, DFSMSdss invokes a
different program (such as IDCAMS), and, as a result, FlashCopy Mirror Version 2 may not be able to use
VSAM datasets. For further information, please refer to the IBM user document mentioned above.
Creating FlashCopy Mirror Version 2 Pairs by Volume Copying
The DFSMSdss command used to process FlashCopy Mirror Version 2 volume copy operation is
COPYFULL. When the COPYFULL 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 COPYFULL 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 63 shows an example of the DFSMSdss command for processing FlashCopy Mirror Version 2
volume copy operation. In this example, the entire data in a volume numbered FCPY05 is copied to a
volume numbered FCPY06.
Figure 63 Example of DFSMSdss Command (COPYFULL)
//COPYFULL 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
/*