In Case 4, relationships between the specified source device (SDEVN) and target device (TDEVN) that are included inside the specified extent ranges for the source and target by the XTNTLST or XXTNTLST parameter are withdrawn. If only part of an extent is specified in XTNTLST or XXTNTLST, the relationship that includes that extent is not withdrawn.
When the following FCWITHDR command is executed and the extent specified by the XTNTLST or XXTNTLST parameter does not include an established relationship, the command does nothing and ends normally.
The following command requests the withdrawal of relationships established with the source extent on device 4202 and the target extent on device 4203.
FCWITHDR SDEVN(X'4202') TDEVN(X'4203') XTNTLST(X'00000000' X'0300000E' X'20000000' X'2300000E')
In this case, the specified extent on device 4202 includes all of Dataset 1 and the specified extent on device 4203 includes all of Dataset 3. When the FCWITHDR command is executed, the relationship for Dataset 1 is withdrawn. There are two relationships before the FCWITHDR command is executed and only one relationship after the FCWITHDR command is executed. The below figure shows the FCWITHDR command with SDEVN and TDEVN specified, DDSW = NO, and XTNTLST or XXTNTLST specified.
Another example for Case 4 follows. This example requests the withdrawal of relationships with the source extent on device 4202 and the target extent on device 4203.
FCWITHDR SDEVN(X'4202') TDEVN(X'4203') XTNTLST(X'00000000' X'0300000E' X'20000000' X' 2000000E')
When you execute this FCWITHDR command, the relationship established for Dataset 1 is not withdrawn because the specified extent on device 4202 is included as a part of Dataset 1. The below figure shows the FCWITHDR command with SDEVN and TDEVN specified, DDSW = NO, XTNTLST or XXTNTLST specified, and partial dataset specified.
Another example for Case 4 follows. In this example, the extent specified by the XTNTLST or XXTNTLST parameter is located in the center of Dataset 1, and the specified extent on device 4202 is included as a part of Dataset 1. In this case, the relationship established for Dataset 1 is not withdrawn.
FCWITHDR SDEVN(X'4202') TDEVN(X'4203') XTNTLST(X'01000000' X'0100000E' X'21000000' X'2100000E'