IBM DS6000 Computer Drive User Manual


 
322 IBM System Storage DS6000 Series: Copy Services with IBM System z
Example 24-31 ICKDSF example to start a Global Mirror session
//* -------------------------------------------------------------- ***
//STEP01 EXEC PGM=ICKDSF
//SYSPRINT DD SYSOUT=*
//SYSIN DD *
PPRC UNIT(7000) STARTASYNCCOPY START -
SESSIONNO(001) -
MAXCOORDTIME(05) -
MAXDRAINTIME(60) -
CGINTERVALTIME(0)
PPRC UNIT(7000) QUERY ASYNCCOPY
/*
24.5.8 Query an active Global Mirror session
Figure 24-14 shows an ICKDSF command to query the devices and their session status. At
the very moment when the query was done, a Consistency Group formation was going on.
Figure 24-14 ICKDSF - query devices in a Global Mirror session
The query also shows four volumes within the LSS indicated by DDNAME, that are also part
of the Global Mirror session. The first two volumes are in session (IS). The next two volumes
are defined to the session but they are in a join pending (JP) state, and they are not Global
Copy primary volumes (simplex, SX). This means the volumes have been added to the
session with the POPULATESESSION command, although these volumes are not Global
Copy primary volumes. This is indicated by the SX code.
EXTENDED DISTANCE CONSISTENCY SESSIONS AND DEVICES TABLE
+-----------------------------------------------------------------------------+
! SESS ! SESS ! !
! NO ! STAT ! VOLUMES IN SESSION !
!------+------+---------------------------------------------------------------!
! 1 ! CGI P ! 05.00(IS, DP ) 05. 01( IS, DP ) 05. 02(JP, SX) 05. 03(JP, SX) !
+-----------------------------------------------------------------------------+
LEGEND
SESSION STATUS
CGIP = CONSISTENCY GROUP IN PROGRESS
INAC = NO INFORMATION, DATA STRUCTURES INACCESSIBLE
IP = INCREMENT PENDING
NAV = NO ACTIVE VOLUMES IN SESSION
N = NORMAL
NSES = NO SESSIONS DEFINED ON ESS
VOLUME STATUS (1ST ENTRY IN PARENTHESES)
IS = IN EXTENDED DISTANCE CONSISTENCY GROUP SESSION
JP = EXTENDED DISTANCE CONSISTENCY VOLUME IS JOIN PENDING
RP = EXTENDED DISTANCE CONSISTENCY VOLUME IS REMOVE PENDING
1P = PPRC PAIR IS IN FIRST PASS OF INTIAL COPY
VOLUME STATE (2ND ENTRY IN PARENTHESES)
SX = PAIR IS SIMPLEX
DP = PAIR IS DUPLEX PENDING
FD = PAIR IS FULL DUPLEX
SP = PAIR IS SUSPENDED
//* -------------------------------------------------------------- ***
//STEP01 EXEC PGM=ICKDSF
/ / SYSPRI NT DD SYSOUT=*
/ / DD01 DD UNI T=3390, VOL=SER=RSED00, DI SP=SHR
/ / SYSI N DD *
PPRCOPY DDNAME( DD0 1 ) QUERY SESSDEV
/*