Hitachi ShadowImage for z/OS user guide (HIT9503-96007, October 2007)

ShadowImage for z/OS user guide 155
5. Execute the FLASHCPY ESTABLISH command, specifying the RESTORE parameter and reversing the
S-VOL and the T-VOL.
If the S VOL before performing Reverse Restore is updated, only the data of the updated part of the S VOL
(differential data) before performing Reverse Restore will be copied to the T VOL. When the T VOL before
performing Reverse Restore is updated, only the data of the updated part of the T VOL will be copied from
the S VOL after performing Reverse Restore.
Note: Set the CHANGERECORDING parameter to YES to maintain the relationship after copying process
is completed and to manage the differential data between the S VOL and the T VOL. If
CHANGERECORDING parameter is not specified, the relationship will be deleted after copying process is
completed.
Withdrawing FlashCopy® Mirror Version 2 Pairs: FLASHCPY WITHDRAW
To delete a FlashCopy Mirror Version 2 pair by using the ICKDSF FLASHCPY WITHDRAW command:
1. If the OS of the host server is MVS, specify the JCL statement in the DDNAME parameter or specify the
S-VOL device number of the FlashCopy Mirror Version 2 pair that you want to delete for the
UNITADDRESS parameter.
2. Specify SYSNAME of the ASSGN system control statement in the SYSNAME parameter if the OS of the
host server is VSE.
3. Specify the CU number, LDEV number, and device number of the T VOL in the TARGETVOL parameter.
4. See Table 70 on page 150 and specify any other necessary parameters.
5. Execute the FLASHCPY WITHDRAW command.
Figure 100 Example of the FLASHCPY WITHDRAW Command
NOTE: When the FLASHCPY WITHDRAW command is executed, all the dataset relationships existing in
the specified volume will be deleted.
The FLASHCPY WITHDRAW command and the applicable combinations are predetermined. If you specify
any other parameter than the predetermined combinations, the FLASHCPY WITHDRAW command is
normally ended without executing any process. Table 72 on page 155 describes the parameters of the
FLASHCPY WITHDRAW command and the applicable combinations.
Table 72 Avoiding Abnormal Ending of the ICKDSF Commands (for FlashCopy Mirror Version 2)
FLASHCPY ESTABLISH UNIT(X'7001') TARGETVOL(X'00',X'00',7000) RESTORE
FLASHCPY WITHDRAW UNIT(X'7000') TARGETVOL(X'00',X'01',7001) MODE(COPY)
Parameter Background copying
DDNAME, SYSNAME,
UNITADDRESS
TARGETVOL MODE Executed or not? Relationship after
completion
S-VOL T-VOL or some other
volume
COPY YES Maintained when
CHANGERECORDING
= YES
Released when
CHANGERECORDING
= NO
S-VOL T-VOL NOCOPY or not
specified
NO Released