Chapter 14. Metro Mirror interfaces 161
This specifies the World Wide Node Name of the primary and secondary DS6000. Each
WWNN is an 8-byte hexadecimal value X’wwwwwwwwwwwwwwww’ where X’pwwnn’ represents the
primary WWNN and X’swwnn’ represents the secondary WWNN.
14.3.6 PPRCOPY ESTPAIR
The ESTPAIR command is used to establish a Metro Mirror relationship between a primary
and a secondary volume. Example 14-20 shows the PPRCOPY ESTPAIR command.
Example 14-20 ICKDSF ESTPAIR example
//IKJEFT01 JOB MSGLEVEL=(1,1),MSGCLASS=A,NOTIFY=user id
//STEP01 EXEC PGM=ICKDSF
//SYSPRINT DD SYSOUT=*
//VOL1 DD UNIT=3390,VOL=SER=DS6400,DISP=SHR
//SYSIN DD *
PPRCOPY ESTPAIR DDNAME(VOL1) PRI(X'0002',AAVCA,X'00') -
SEC(X'0003',AAVCA,X'00') MODE(COPY) MSGREQ(NO) OPTION(SYNC) -
CRIT(NO) LSS(X'00',X'01')
FAILOVER and FAILBACK are optional parameters of the PPRCOPY ESTPAIR command. A
sample failover and failback procedure is discussed in 16.2, “Failover and failback using TSO”
on page 187.
14.3.7 PPRCOPY FREEZE
The PPRCOPY FREEZE command suspends operations for the Metro Mirror volumes on a
given LSS pair. It is issued to control operations for multiple Metro Mirror volume pairs on the
specified LSS pair. With the FREEZE command, Metro Mirror volume pairs are suspended
and Metro Mirror paths are deleted.
Example 14-21 shows an example of a PPRCOPY FREEZE command.
Example 14-21 PPRCOPY FREEZE example
//IKJEFT01 JOB MSGLEVEL=(1,1),MSGCLASS=A,NOTIFY=user id
//STEP01 EXEC PGM=ICKDSF,TIME=30 ,PARM='NOREPLYU'
//SYSPRINT DD SYSOUT=*
//VOL1 DD UNIT=3390,VOL=SER=DS6400,DISP=SHR
//SYSIN DD *
PPRCOPY FREEZE DDNAME(VOL1) PRI(X'0002',AAVCA) SEC(X'0003',AAVCA) -
LSS(X'00',X'01')
14.3.8 PPRCOPY QUERY
The QUERY command is used to query the Metro Mirror status of a volume and the
associated Metro Mirror paths. A query can be issued to either a primary or secondary Metro
Mirror volume.
Note: When a Metro Mirror path has been established with the CGROUP(YES) parameter,
issuing PPRCOPY FREEZE puts devices for that LSS pairing into extended long busy until
a PPRCOPY RUN command is issued, or the timeout window (default two minutes)
expires.