162 IBM System Storage DS6000 Series: Copy Services with IBM System z
A host system that is attached only to a primary volume cannot obtain the status of the
secondary volume for that pair. In the same way, a host that is attached only to the secondary
volume cannot obtain the status of the primary volume.
Example 14-22 shows an example of the PPRCOPY QUERY command.
Example 14-22 ICKDSF QUERY command
//IKJEFT01 JOB MSGLEVEL=(1,1),MSGCLASS=A,NOTIFY=user id
//STEP01 EXEC PGM=ICKDSF,TIME=30 ,PARM='NOREPLYU'
//SYSPRINT DD SYSOUT=*
//VOL1 DD UNIT=3390,VOL=SER=DS6400,DISP=SHR
//SYSIN DD *
PPRCOPY QUERY DDNAME(VOL1)
PPRCOPY QUERY DDNAME(VOL1) PATHS
Example 14-23 shows the output from the PPRCOPY QUERY command.
Example 14-23 PPRCOPY QUERY output
ICKDSF - MVS/ESA DEVICE SUPPORT FACILITIES 17.0 TIME: 17:48:02
PPRCOPY QUERY DDNAME(VOL1) 00070000
ICK00700I DEVICE INFORMATION FOR 6400 IS CURRENTLY AS FOLLOWS:
PHYSICAL DEVICE = 3390
STORAGE CONTROLLER = 1750
STORAGE CONTROL DESCRIPTOR = E8
DEVICE DESCRIPTOR = 0A
ADDITIONAL DEVICE INFORMATION = 4800243D
TRKS/CYL = 15, # PRIMARY CYLS = 3339
ICK04029I DEVICE IS IN SUSPENDED PPRC STATE
QUERY REMOTE COPY - VOLUME
(PRIMARY) (SECONDARY)
SSID CCA SSID CCA
DEVICE LEVEL STATE PATH STATUS SER # LSS SER # LSS
------ --------- -------------- ----------- ----------- -----------
6400 PRIMARY SUSPEND(3) ACTIVE 0002 00 0003 00
AAVCA 00 AAVCA 01
PATHS SAID/DEST STATUS DESCRIPTION
----- --------- ------ ----------------
1 0000 0100 13 ESTABLISHED FIBRE CHANNEL PATH
IF PENDING/SUSPEND: COUNT OF TRACKS REMAINING TO BE COPIED = 0
ICKDSF - MVS/ESA DEVICE SUPPORT FACILITIES 17.0 TIME: 17:48:02
ICK02206I PPRCOPY QUERY FUNCTION COMPLETED SUCCESSFULLY
ICK00001I FUNCTION COMPLETED, HIGHEST CONDITION CODE WAS 0
17:48:02 06/07/05
PPRCOPY QUERY DDNAME(VOL1) PATHS 00071000
ICK00700I DEVICE INFORMATION FOR 6400 IS CURRENTLY AS FOLLOWS:
PHYSICAL DEVICE = 3390
STORAGE CONTROLLER = 1750
STORAGE CONTROL DESCRIPTOR = E8
DEVICE DESCRIPTOR = 0A
ADDITIONAL DEVICE INFORMATION = 4800243D
TRKS/CYL = 15, # PRIMARY CYLS = 3339