Deleting PPRC paths

Use the CDELPATH command to delete all established paths between a primary site logical subsystem or storage control and a recovery site logical subsystem or storage control. The command only affects active paths to the recovery site logical subsystem or storage control, but not other paths to other logical subsystems or storage controls. Issue the CDELPATH command to a valid PPRC primary device, only.

Before issuing a CDELPATH command, issue a CDELPAIR command to all active PPRC volume pairs. All pair relationships must be disconnected before a path can be deleted. The CDELPATH command might cause the issuance of an ANTP0121I message if you do not follow this sequence.

The following command examples demonstrate how to delete all established paths between a primary site storage control and a recovery site storage control:
CDELPATH DEVN(X'0F40') PRIM(X'6060' 62019) SEC(X'6061' 68006)
CDELPATH DEVN(X'0F40') PRIM(X'6060' 5005076300CABMF0) 
                                         SEC(X'6061' 5005076300CBMAC0)

You can process the following TSO CLIST in a standard TSO environment.

Example: This example shows how to use a CLIST to delete all PPRC paths between two storage controls.
 CONTROL PROMPT
     CDELPATH                      +
        DEVN(X'0F40')              +
        PRIM(X'6060' 62019)        +
        SEC(X'6061' 68006)
     ENDDATA

For additional information about how to remove selected paths using the CESTPATH parameter, refer to CESTPATH – establishing paths.