FlashCopy query (FCQUERY) command

Use the FCQUERY command to determine the copy status of any device available to the host system. If you issue a command to a device not in an ESS, certain data will not necessarily be available. The information reflects the storage control type, and whatever information is available about the device will be returned.

When you issue a FCQUERY command to an ESS device that is part of a FlashCopy® V1 relationship, the specified device information includes whether the device is the source or target of a FlashCopy relationship. The FCQUERY command for a device enabled with FlashCopy V2, provides the number of total relationships, source and/or target, that are active on the device. As much information about the specified device as is available is returned. Because status information is extremely volatile in a shared device environment, these conditions might not exist when the next FlashCopy command is issued.