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:
- If the device is in simplex state, PPRC may display path
information for the logical subsystem or the storage control for the
device. The path information does not relate to the specified device.
- If the device is a primary of a PPRC volume pair, PPRC
displays path information for the logical subsystem or the storage
control. The path information does relate to the specified device.
The devices that make up the volume pair are using one or more paths.
- If the device is a secondary of a PPRC volume pair, PPRC
provides a report, but valid path information is not available. When
you issue a CQUERY PATHS command to an active PPRC pair secondary
volume, the formatted CQUERY report will not display the serial number
or path link information. The WWNN is displayed, if available.
In 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.