HP XP7 Storage User Manual

Page 57

Advertising
background image

6.

If the T-VOL is set to offline in step 4, set thiS-VOLume back to online. This step is not necessary
if the ONLINTGT parameter of the FCESTABL command is set to YES.

FCESTABL command can only be executed once per Compatible FlashCopy relationship. You
cannot execute this command repeatedly for the same Compatible FlashCopy relationship.

The following example shows an example of how the FCESTABL command is used. In this
example the FCESTABL command specifies the following:

The data on the extent starting from CCHH '01000004' and ending at CCHH
'0357000A' in the source device numbered 4202 is to be copied to the extent starting
from CCHH '13000001' and ending at CCHH '15570007' in the target device numbered
4203.

The data on the extent starting from CCHH '02AC0006' and ending at CCHH '02FF000C'
in the source device numbered 4202 is to be copied to the extent starting from CCHH
'18A00000' and ending at CCHH '18F30006' in the target device numbered 4203
(the operation mode for copying is set to NOCOPY mode). Example of FCESTABL
command (Compatible FlashCopy / XTNTLST and NOCOPY are specified):

FCESTABL SDEVN(X'4202') TDEVN(X'4203') MODE(NOCOPY)
XTNTLST(X'01000004' X'0357000A' X'13000001' X'15570007',
X'02AC0006' X'02FF000C' X'18A00000' X'18F30006')

Using DFSMSdss to establish Compatible FlashCopy relationships by extents

The DFSMSdss command that is used to process Compatible FlashCopy dataset copy operations
is COPY DS. For information about the available parameters for the DFSMSdss command, see

Table 22 (page 45)

.

When the COPY DS command is issued, DFSMSdss checks whether the selected volumes meet the
requirements for use as Compatible FlashCopy 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 Compatible FlashCopy relationship simultaneously
as it completes the processing. The completion of this process is not reported to the user.

Following is an example using the DFSMSdss command to process Compatible FlashCopy dataset
copy operations. In this example, the dataset on the volume numbered FCPY05 is copied to a
volume numbered FCPY06.

//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))
/*

Compatible FlashCopy enables you to establish up to 16 relationships simultaneously from a single
copy source extent.

Using ANTRQST Macro to establish Compatible FlashCopy relationships by extents

When you establish Compatible FlashCopy relationships by extents with the ANTRQST Macro
command, the parameters in the following table are available.

Establishing relationships by extents for Compatible FlashCopy

57

Advertising
This manual is related to the following products: