HP P9000 for Compatible FlashCopy Mirroring User Guide (AV400-96388, October 2011)

Example 15 COPY DS command
//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 allows you to establish up to 16 relationships simultaneously from a single
copy source extent.
Establishing Compatible FlashCopy relationships by extents using ANTRQST macro
command
When you establish Compatible FlashCopy relationships by extents with the ANTRQST Macro
command, the parameters in the following table are available.
Table 26 ANTRQST Macro command parameters (REQUEST=FCESTABLISH)
DescriptionValueParameter
Specifies the copy source extent (copy range) by setting the starting
and ending addresses of the source and target with CCHH (cylinder
Copy source
extent (copy
range)
SRCEXTENTS
and head numbers). Up to 32 extents can be specified. When
SRCEXTENTS is not specified, the data on all the tracks are copied.
Note that you cannot specify this parameter if you specify YES for the
INCREMENTAL parameter.
Specifies the copy target extent (copy range) by setting the starting
and ending addresses of the source and target with CCHH (cylinder
Copy target extent
(copy range)
TGTEXTENTS
and head numbers). Up to 32 extents can be specified. When
TGTEXTENTS is not specified, the data on all the tracks are copied.
Note that you cannot specify this parameter if you specify YES for the
INCREMENTAL parameter.
Establishing Compatible FlashCopy relationships while suspending Write Operations
to S-VOLs
When you establish Compatible FlashCopy relationships with the FCESTABL command while
suspending the write operations to S-VOLs to keep the data consistency, the ACTION parameter
(see the following table) is available in addition to the parameters in Table 21 (page 41) and
Table 25 (page 52).
Table 27 Parameters for the FCESTABL command (Compatible FlashCopy / in case of suspending
write operations to S-VOLs)
DescriptionValueParameter
Suspend the write operations from the host to S-VOLs. Although if you establish a
relationship specifying extents, the ACTION parameter will suspend the write operation
to the whole volume.
FREEZEACTION
The following example shows how to use the FCESTABL command to suspend the write operation
to an S-VOL when you establish a Compatible FlashCopy relationship. In this example, the
FCESTABL command establishes a relationship of the volumes (devices) numbered 4202 and
4203, and at the same time, suspends the write operation from the host to the source device
numbered 4202.
Establishing Compatible FlashCopy relationships 55