HP P9000 for Compatible FlashCopy Mirroring User Guide (AV400-96388, October 2011)

Example 27 FCWITHDR command description (SDEVN and TDEVN: specified, DDSW = YES)
FCWITHDR SDEVN(X'4202') DDSW(YES)
FCWITHDR SDEVN(X'4202') TDEVN(X'4203') DDSW(YES)
By executing the FCWITHDR command described in the example, the relations established with
Dataset 1 and Dataset 2 in the device numbered 4202 are withdrawn. As a result, there will no
longer be any relationships established with the device numbered 4202 after executing this
command. See the following figure.
Figure 34 FCWITHDR command processing (SDEVN and TDEVN: specified, DDSW= YES)
Case 6: SDEVN and TDEVN specified, DDSW = YES, XTNTLST parameter specified
Among the relationships established with the device specified by SDEVN, all the relationships that
partly or entirely include the copy target extents specified by the XTNTLST parameter are withdrawn.
The information about the specified TDEVN and the copy target extents specified by the XTNTLST
parameter are ignored.
When the FCWITHDR command is executed with DDSW parameter set to YES and XTNTLST
parameter specified, only the XTNTLST parameter values specified for the copy source extent are
put into effect. When there are no relationships existing within the copy source extent specified
by the XTNTLST parameter values, the FCWITHDR command will do nothing and end normally.
The following two examples show command descriptions for Case 6. Both examples request the
withdrawal of all those relationships among the relationships established with the device numbered
4202 that are included in the extent specified by the XTNTLST parameter. When DDSW parameter
is set to YES, the TDEVN parameter values and the XTNLST parameter values for the copy target
extent are ignored. Therefore, the two command descriptions in the example both give the same
result.
Example 28 FCWITHDR Command Description (SDEVN and TDEVN: specified, DDSW = YES, XTNTLST
specified)
FCWITHDR SDEVN(X'4202') DDSW(YES) XTNTLST(X'010000000' X'1100000E' X'21000000' X'2200000E')
FCWITHDR SDEVN(X'4202') TDEVN(X'4203') DDSW(YES)
XTNTLST(X'010000000' X'1100000E' X'21000000' X'2200000E')
There are three relationships before executing the FCWITHDR command in the example, and after
executing the command, there is only one relationship.
70 Performing Compatible FlashCopy operations