For relationships established with the device specified by SDEVN:
- All relationships with extents partly or entirely included in the extents specified by the XTNTLST or XXTNTLST parameter are withdrawn.
- The TDEVN and the target extents specified by the XTNTLST or XXTNTLST parameter are ignored.
When the FCWITHDR command is executed with DDSW = YES and the XTNTLST or XXTNTLST parameter is specified, only the XTNTLST or XXTNTLST parameter values specified for the source extent are used. When no relationships exist within the source extent that is specified by the XTNTLST or XXTNTLST parameter values, the FCWITHDR command does nothing and ends normally.
The following two FCWITHDR command examples show how the TDEVN parameter is ignored if it is specified. Both examples request the withdrawal of all relationships established with device 4202 that exist inside the extent range specified by the XTNTLST or XXTNTLST parameter. When DDSW = YES, the TDEVN parameter value and the XTNLST or XXTNTLST parameter value for the target extent are ignored. Therefore, the two commands in the example cause the same result.
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')
Before the FCWITHDR command in the example above is executed, there are three relationships, and there is only one relationship after the command is executed.