Querying PPRC paths

Issue the CQUERY command with the PATHS option to query the status of all PPRC paths established for a volume’s storage control.

You can request formatted or unformatted output, as described in Formatted and unformatted output.

Start of changeIn a Multi-Target Mirror environment, that is, Multi-Target is supported by the microcode and ENABLE(PPRCMT) is specified in the DEVSUPxx member of PARMLIB, the formatted output reflects all of the secondary control units that are defined to the primary, which can be up to 16.End of change

Note:
  1. CQUERY command output in the SYSLOG can contain a connection code at the end of the header message and at the beginning of each of the lines associated with that connection code. The system generates this code for any multiline WTO.
  2. The CQUERY PATHS and VOLUME reports may show incorrect information for the secondary subsystem WWNN in the case where that secondary is located on an ESS that does not have LIC 2.3 installed. In this case the WWNN information is not reported back correctly from the primary storage control. Do not use this WWNN information to attempt to set up paths or devices on that secondary subsystem. This could lead to an inadvertent establish on the wrong device as a secondary.
Note:
The following command queries paths established for volume 0F40:
 CQUERY DEVN(X'0F40') PATHS