CQUERY – querying status

Use the CQUERY command to query the status of one volume of a PPRC volume pair, or all paths that are associated with the logical subsystem or storage control for the device number that you specify. You can also display the linkage adapter information between two controllers. You can issue the CQUERY command to either a primary or secondary PPRC volume. A host system that is attached only to a primary volume cannot obtain the status of the secondary volume for that pair. In the same way, a host attached only to the secondary volume cannot obtain the status of the primary volume.

See Querying PPRC volumes and Querying PPRC paths for CQUERY command output examples for a volume, and for paths.