Delete Global Copy Volume Pairs - IBM System storage DS6000 Series Redbook

Copy services with ibm system z
Hide thumbs Also See for System storage DS6000 Series:
Table of Contents

Advertisement

Example 26-29 Remove FlashCopy relationships
//* ------------------ TSO ----------------- CLEANUP (4) --------- ***
//* Remove FlashCopy relationship from B -> C
//* -------------------------------------------------------------- ***
//FCWDRW EXEC PGM=IKJEFT01
//SYSPRINT DD SYSOUT=*
//SYSTSPRT DD SYSOUT=*
//SYSTSIN
FCQUERY
FCWITHDR SDEVN(X'3C00') TDEVN(X'3E00')
FCQUERY
FCQUERY
FCWITHDR SDEVN(X'3D00') TDEVN(X'3F00')
FCQUERY
FCQUERY
FCWITHDR SDEVN(X'3D01') TDEVN(X'3F01')
FCQUERY
You may verify, with a last FlashCopy query, that the FlashCopy relationships are removed.
Example 26-30 illustrates this.
Example 26-30 FCQUERY commands and their output
READY
FCQUERY
FCQUERY Formatted -2
DEVN SSID LSS CCA CU
3C00 3C00 0C 00 2107 000000073081
FCQUERY COMMAND COMPLETED FOR DEVICE 3C00. COMPLETION CODE: 00
READY
FCWITHDR SDEVN(X'3C00') TDEVN(X'3E00')
FCWITHDR COMMAND COMPLETED FOR DEVICE 3C00. COMPLETION CODE: 00
READY
FCQUERY
FCQUERY Formatted -2
DEVN SSID LSS CCA CU
3C00 3C00 0C 00 2107 000000073081
FCQUERY COMMAND COMPLETED FOR DEVICE 3C00. COMPLETION CODE: 00
READY
The ACT column with the number 1 indicates an active FlashCopy relationship. The 0 (zero) in
the FlashCopy query, after the FlashCopy withdraw command, indicates that the FlashCopy
relationship is removed.

26.5.5 Delete Global Copy volume pairs

Remove all Global Copy volume pair relationships. Example 26-31 on page 364 shows the
TSO commands that are used for this.
DD DDNAME=SYSIN
DEVN (X'3C00')
DEVN (X'3C00')
DEVN (X'3D00')
DEVN (X'3D00')
DEVN (X'3D01')
DEVN (X'3D01')
DEVN (X'3C00')
SERIAL
DEVN (X'3C00')
SERIAL
ACT
MAX XC PC CC RV SEQNUM
1 50099 N S N N 429334DE
ACT
MAX XC PC CC RV SEQNUM
0
50099 N S N N 00000000
Chapter 26. Global Mirror examples
***
363

Advertisement

Table of Contents
loading

Table of Contents