hit counter script

Remove Volumes From The Session - 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

RQUERY
RQUERY
RQUERY
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
RQUERY Output Volser(XX2C00) Action(GMPSTAT) Version(001)
SNbr LSS GMPStatus TotVol OOSVol OOSTrks
--
-- ---------- ------ ------ --------
01
0C NotStarted 1

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
//*
//*
//* -------------------------------------------------------------- ***
//REMOVE EXEC PGM=IKJEFT01
//SYSPRINT DD SYSOUT=*
//SYSTSPRT DD SYSOUT=*
//SYSTSIN
RVOLUME
RVOLUME
RQUERY
RQUERY
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.
ACTION(STOP)
LSSTYPE(CKD) LSSNBR(0C)
ESSSERIAL(27131)
MSSERIAL (27131)
SNBR(01) VOLSER(XX2C00) ACTION(DVCSTAT)
SNBR(01) VOLSER(XX2C00) ACTION(GMLSTAT)
SNBR(01) VOLSER(XX2C00) ACTION(GMPSTAT)
SNBR(01) VOLSER(XX2C00) ACTION(GMPSTAT)
0
00000000
VOLUME LIST CONTAINS CCA NUMBERS
DD DDNAME=SYSIN
SNBR(01) VOLSER(XX2C00)
ACTION(REMOVE)
LSSTYPE(CKD) LSSNBR(0C)
ESSSERIAL(27131)
VOLLIST (00)
SNBR(01) VOLSER(XX2D00)
ACTION(REMOVE)
LSSTYPE(CKD) LSSNBR(0D)
ESSSERIAL(27131)
VOLLIST (00,01)
SNBR(01) VOLSER(XX2C00) ACTION(DVCSTAT)
SNBR(01) VOLSER(XX2D00) ACTION(DVCSTAT)
+
+
+
***
***
***
+
+
+
+
+
+
+
+
Chapter 26. Global Mirror examples
361

Advertisement

Table of Contents
loading

Table of Contents