IBM DS6000 Computer Drive User Manual


 
Chapter 26. Global Mirror examples 361
ACTION(STOP) +
LSSTYPE(CKD) LSSNBR(0C) +
ESSSERIAL(27131) +
MSSERIAL (27131)
RQUERY SNBR(01) VOLSER(XX2C00) ACTION(DVCSTAT)
RQUERY SNBR(01) VOLSER(XX2C00) ACTION(GMLSTAT)
RQUERY SNBR(01) VOLSER(XX2C00) ACTION(GMPSTAT)
The GMPSTAT query shown in Example 26-25 informs that session 01 is not active any
longer. Numbers are reset to zeros.
Example 26-25 Session query after session stop
RQUERY SNBR(01) VOLSER(XX2C00) ACTION(GMPSTAT)
RQUERY Output Volser(XX2C00) Action(GMPSTAT) Version(001)
SNbr LSS GMPStatus TotVol OOSVol OOSTrks
-- -- ---------- ------ ------ --------
01 0C NotStarted 1 0 00000000
26.5.2 Remove volumes from the session
After the session has been stopped, remove the Global Mirror primary volumes from the
session. Example 26-26 shows how to do this. The RQUERY commands are used to verify
the status of the devices after their removal from the session.
Example 26-26 Remove volumes from the session
//* ------------------ TSO ----------------- CLEANUP (2) --------- ***
//* REMOVE VOLUMES FROM SESSION NUMBER 01 AFTER SESSION STOPPED ***
//* ***
//* VOLUME LIST CONTAINS CCA NUMBERS ***
//* -------------------------------------------------------------- ***
//REMOVE EXEC PGM=IKJEFT01
//SYSPRINT DD SYSOUT=*
//SYSTSPRT DD SYSOUT=*
//SYSTSIN DD DDNAME=SYSIN
RVOLUME SNBR(01) VOLSER(XX2C00) +
ACTION(REMOVE) +
LSSTYPE(CKD) LSSNBR(0C) +
ESSSERIAL(27131) +
VOLLIST (00)
RVOLUME SNBR(01) VOLSER(XX2D00) +
ACTION(REMOVE) +
LSSTYPE(CKD) LSSNBR(0D) +
ESSSERIAL(27131) +
VOLLIST (00,01)
RQUERY SNBR(01) VOLSER(XX2C00) ACTION(DVCSTAT)
RQUERY SNBR(01) VOLSER(XX2D00) ACTION(DVCSTAT)
The RQUERY commands, after the Global Copy primary volumes have been removed, still
display the session number 01, but no longer any volumes. This is shown in Example 26-27
on page 362.