Querying PPRC volumes

The CQUERY command can query the status of one volume from a PPRC volume pair, a volume defined as both primary and secondary in two cascading PPRC pairs (a relationship defined by ICKDSF or ESS Specialist), or collect information about a volume in the simplex state. To do this, either include the VOLUME parameter, or do not specify any optional parameters. The following command queries volume 0F40:
     CQUERY DEVN(X'0F40')
The path information that is available for the storage control depends on the current status of the volume to which the CQUERY command is directed, as follows:

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 output is formatted into multiple VOLUME REPORTs within an ANTP0090I message block, just as is done when you query the middle device of a cascading relationship.End of change