
326
IBM System Storage DS6000 Series: Copy Services with IBM System z
Example 24-35 Remove session from LSS with ICKDSF
//* -------------------------------------------------------------- ***
//CLOSESS EXEC PGM=ICKDSF
//SYSPRINT DD SYSOUT=*
//DD01 DD UNIT=3390,VOL=SER=AA6000,DISP=SHR
//SYSIN DD *
PPRCOPY DDNAME(DD01) DEFSESS -
SESSNO(001) -
CLOSE
/*
Now, in the next steps, we will remove the FlashCopy relationships, and later we will delete
the Global Copy pairs that belonged to the Global Mirror session we just deleted.
24.5.13 Withdraw FlashCopy relationships
Example 24-36 shows an ICKDSF example for removing the FlashCopy relationships
between the B and C volumes.
Example 24-36 Withdraw FlashCopy relationships between B and C volumes with ICKDSF
//* -------------------------------------------------------------- ***
//* FLASHCOPY WITHDRAW (B -> C VOLUME RELATIONSHIP) inband ***
//* -------------------------------------------------------------- ***
//* SRCVOL (X'LSS' X'CCA' X'SSID' SERIAL#) ***
//* TGTVOL (X'LSS' X'CCA' DEVICE#) ***
//* -------------------------------------------------------------- ***
//WITHDRW EXEC PGM=ICKDSF
//SYSPRINT DD SYSOUT=*
//DD01 DD UNIT=3390,VOL=SER=AA6000,DISP=SHR
//DD02 DD UNIT=3390,VOL=SER=AA6001,DISP=SHR
//DD03 DD UNIT=3390,VOL=SER=AA6002,DISP=SHR
//DD04 DD UNIT=3390,VOL=SER=AA6003,DISP=SHR
//SYSIN DD *
FC DDNAME(DD01) WD /* WITHDRAW */ -
SRCVOL (X'00',X'00',0002,AAVCA) /* B VOLUME */ -
TGTVOL (X'01',X'00',0003) /* C VOLUME */
FC DDNAME(DD02) WD /* WITHDRAW */ -
SRCVOL (X'00',X'01',0002,AAVCA) /* B VOLUME */ -
TGTVOL (X'01',X'01',0003) /* C VOLUME */
FC DDNAME(DD03) WD /* WITHDRAW */ -
SRCVOL (X'00',X'02',0002,AAVCA) /* B VOLUME */ -
TGTVOL (X'01',X'02',0003) /* C VOLUME */
FC DDNAME(DD04) WD /* WITHDRAW */ -
SRCVOL (X'00',X'03',0002,AAVCA) /* B VOLUME */ -
TGTVOL (X'01',X'03',0003) /* C VOLUME */
Note that we execute the FLASHCOPY WITHDRAW (or FC WD) command at the local site,
to the Global Copy primary volumes. The primary volumes are identified by the JCL DD
statement that is pointed to by the DDNAME parameter of the FC command; see
Example 24-36. This is an inband FlashCopy command. Through the SRCVOL and the
TGTVOL parameters, we identify the FlashCopy source and target volumes at the remote
site. This command will end the FlashCopy relationship between the B and C volumes.
Summary of Contents for System storage DS6000 Series
Page 2: ......
Page 24: ...xxii IBM System Storage DS6000 Series Copy Services with IBM System z...
Page 38: ...14 IBM System Storage DS6000 Series Copy Services with IBM System z...
Page 40: ...16 IBM System Storage DS6000 Series Copy Services with IBM System z...
Page 60: ...36 IBM System Storage DS6000 Series Copy Services with IBM System z...
Page 64: ...40 IBM System Storage DS6000 Series Copy Services with IBM System z...
Page 66: ...42 IBM System Storage DS6000 Series Copy Services with IBM System z...
Page 86: ...62 IBM System Storage DS6000 Series Copy Services with IBM System z...
Page 92: ...68 IBM System Storage DS6000 Series Copy Services with IBM System z...
Page 144: ...120 IBM System Storage DS6000 Series Copy Services with IBM System z...
Page 152: ...128 IBM System Storage DS6000 Series Copy Services with IBM System z...
Page 204: ...180 IBM System Storage DS6000 Series Copy Services with IBM System z...
Page 208: ...184 IBM System Storage DS6000 Series Copy Services with IBM System z...
Page 224: ...200 IBM System Storage DS6000 Series Copy Services with IBM System z...
Page 242: ...218 IBM System Storage DS6000 Series Copy Services with IBM System z...
Page 260: ...236 IBM System Storage DS6000 Series Copy Services with IBM System z...
Page 288: ...264 IBM System Storage DS6000 Series Copy Services with IBM System z...
Page 290: ...266 IBM System Storage DS6000 Series Copy Services with IBM System z...
Page 358: ...334 IBM System Storage DS6000 Series Copy Services with IBM System z...
Page 432: ...408 IBM System Storage DS6000 Series Copy Services with IBM System z...
Page 434: ...410 IBM System Storage DS6000 Series Copy Services with IBM System z...
Page 438: ...414 IBM System Storage DS6000 Series Copy Services with IBM System z...
Page 454: ...430 IBM System Storage DS6000 Series Copy Services with IBM System z...
Page 456: ...432 IBM System Storage DS6000 Series Copy Services with IBM System z...
Page 480: ...456 IBM System Storage DS6000 Series Copy Services with IBM System z...
Page 490: ...466 IBM System Storage DS6000 Series Copy Services with IBM System z...
Page 524: ...500 IBM System Storage DS6000 Series Copy Services with IBM System z...
Page 552: ...528 IBM System Storage DS6000 Series Copy Services with IBM System z...
Page 560: ...536 IBM System Storage DS6000 Series Copy Services with IBM System z...
Page 564: ...540 IBM System Storage DS6000 Series Copy Services with IBM System z...
Page 574: ...550 IBM System Storage DS6000 Series Copy Services with IBM System z...
Page 577: ......