IBM DS6000 Computer Drive User Manual


 
370 IBM System Storage DS6000 Series: Copy Services with IBM System z
Note the different positional parameters for SRCVOL and TGTVOL. It is possible to mix these
up. First comes the LSS number and then the CCA. This is the same for both parameters.
The third positional parameter for SRCVOL is the SSID, followed by the serial number of the
secondary storage disk subsystem. The third parameter in TGTVOL is the actual z/OS device
number of the FlashCopy target volume. Withdraw can be abbreviated as WD.
Note again that ICKDSF requires the DDNAME parameter when you refer to an online
volume. Volumes AA6000 to AA6003 are in the local storage disk subsystem that is connected,
over a path, to the remote disk subsystem that has the serial number AAVCA.
26.7.4 Delete the Global Mirror session
Example 26-39 shows the next step, which removes the session number 01 from the LSS that
is pointed to by the DDNAME parameter.
Example 26-39 Delete or remove a session from concerned LSS
//* -------------------------------------------------------------- ***
//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
/*
Again, the DDNAME parameter is required because the PPRCOPY command points to the
desired LSS with an online volume. Note that, although the command is called DEFSESS (or
DEFINESESSION), the session is actually removed, because of the CLOSE parameter.
26.7.5 Delete Global Copy pairs
After all traces of session number 01 are removed, the next step is to delete the Global Copy
pairs. Example 26-40 shows how to do it with ICKDSF.
Example 26-40 Delete Global Copy pairs with ICKDSF
//* -------------------------------------------------------------- ***
//DELPAIR 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 *
PPRCOPY DDNAME(DD01) DELPAIR -
LSS(X'00' X'00') -
PRI(X'2060' AAGXA X'00') -
SEC(X'0002' AAVCA X'00')
PPRCOPY DDNAME(DD02) DELPAIR -
LSS(X'00' X'00') -
PRI(X'2060' AAGXA X'01') -
SEC(X'0002' AAVCA X'01')