Chapter 24. Global Mirror interfaces 301
24.2.3 Establish FlashCopy using ICKDSF
ICKDSF is usually the interface that is used to manage remote copy configurations in z/VM
and z/VSE environments. It is a batch-oriented approach and requires the JCL to invoke
ICKDSF. Example 24-7 shows the FlashCopy command used to create a Global Mirror
FlashCopy relationship.
Example 24-7 Create FlashCopy between B and C using ICKDSF
//* -------------------------------------------------------------- ***
//FCBTOC EXEC PGM=ICKDSF
//SYSPRINT DD SYSOUT=*
//SYSIN DD *
FC UNIT(3C00) ESTABLISH -
TARGETVOL (X'0E',X'00',3E00) -
CHRCD (YES) -
NOTGTWT (YES) -
MODE (NOCOPY)
ICKDSF also lists the individual attributes that are required to create a FlashCopy relationship
for Global Mirror.
Example 24-8 shows an inband FlashCopy that is given with ICKDSF at the local site, and
addresses the remote site.
Example 24-8 Inband FlashCopy between B and C using ICKDSF
//* -------------------------------------------------------------- ***
//FCBTOCIN EXEC PGM=ICKDSF
//DD01 DD UNIT=3390,VOL=SER=AA6000,DISP=SHR
//SYSPRINT DD SYSOUT=*
//SYSIN DD *
FC DDNAME(DD01) ESTABLISH -
SRCVOL (X'00',X'00',X'0002' AAVCA) -
TGTVOL (X'00',X'00',6500) -
CHRCD (YES) /* CHANGE RECORDING */ -
NOTGTWR (YES) /* INHIBIT TARGET WRITES */ -
MODE (NOCOPY) /* NO BACKGROUND COPY */ -
TGTCANCOMEONLINE (NO)
Note the syntax variation in the SRCVOL and TGTVOL parameters, when hex notation is
used and when it is not used. In the SRCVOL parameter, the serial number of the storage
disk subsystem is not in hex notation, but all the other parameters are. The TGTVOL
parameters are also in hex notation, except for the z/OS device number of the FlashCopy
target volume.
24.2.4 Which interface to choose
Which interface you choose depends on your preferences and the experience you gathered
in the past. In our examples, we left out the DS Storage Manager GUI, which is another
alternative. A fully automated solution such as GDPS relieves you of the decision as to which
interface to use to manage the Global Mirror environment.
When you set up your own Global Mirror management package, you have the choice of which
interface to use.