The FCQUERY command displays the Copy Services status of a device. The possible Copy Services functions are XRC, PPRC, concurrent copy, and FlashCopy®.
For devices which are licensed for FlashCopy V1 only, the FCQUERY command displays information only about FlashCopy. If a device is in a FlashCopy relationship, information about the other device in the FlashCopy relationship is also displayed. If information about both devices in a FlashCopy relationship is available, information about the source device is reported first, followed by information about the target device. Otherwise, only information about the requested device is reported. If a background copy is in progress on the device, the percentage of the completed background copy process is also displayed. If the device is not in any source or target FlashCopy relationship, the FCQUERY report shows the status as SIMPLEX.
FCQUERY DEVN(0F4C)
ANTF0090I FCQUERY Formatted
DEVN SSID LSS CCA CU SERIAL STATUS
0F4C 1010 00 0C 2105 0000000FC101 FC......4%
---- 1010 00 0D 2105 0000000FC101 FC........
ANTF0001I FCQUERY COMMAND COMPLETED FOR DEVICE 0F4C. COMPLETION CODE: 00
ANTF0090I FCQUERY Formatted
DEVN SSID LSS CCA CU SERIAL STATUS
0F4C 1010 00 0C 2105 0000000FC101 FC........
---- 1010 00 0D 2105 0000000FC101 FC........
ANTF0001I FCQUERY COMMAND COMPLETED FOR DEVICE 0F4C. COMPLETION CODE: 00
ANTF0090I FCQUERY Formatted
DEVN SSID LSS CCA CU SERIAL STATUS
0F4C 1010 00 0C 2105 0000000FC101 SIMPLEX...
ANTF0001I FCQUERY COMMAND COMPLETED FOR DEVICE 0F4C. COMPLETION CODE: 00
ANTF0090I FCQUERY Formatted
DEVN SSID LSS CCA CU SERIAL STATUS
---- 1010 00 0C 2105 0000000FC101 FC........
0F5C 1010 00 0D 2105 0000000FC101 FC........
ANTF0001I FCQUERY COMMAND COMPLETED FOR DEVICE 0F5C. COMPLETION CODE: 00
For devices that are licensed for FlashCopy V2 or space efficient FlashCopy, the FCQUERY report shows available information about FlashCopy and other copy services relationships active on the device. If the device is not in any source or target FlashCopy relationship, the FCQUERY report shows the number of active FlashCopy relationships as 0.
FCQUERY DEVN(0F48)
ANTF0420I FCQUERY Formatted -2
DEVN SSID LSS CCA CU SERIAL ACT MAX XC PC CC RV SEQNUM
0F48 A760 00 28 2105 0000000FCA76 263 951 N N N N 00000000
ANTF0001I FCQUERY COMMAND COMPLETED FOR DEVICE 0F48. COMPLETION CODE: 00
ANTF0420I FCQUERY Formatted -2
DEVN SSID LSS CCA CU SERIAL ACT MAX XC PC CC RV SEQNUM
0F48 A760 00 28 2105 0000000FCA76 0 951 N N N N 00000000
ANTF0001I FCQUERY COMMAND COMPLETED FOR DEVICE 0F48. COMPLETION CODE: 00
ANTF0420I FCQUERY Formatted -2
DEVN SSID LSS CCA CU SERIAL ACT MAX XC PC CC RV SEQNUM
0F48 A760 00 28 2105 0000000FCA76 0 951 N S N N 00000000
ANTF0001I FCQUERY COMMAND COMPLETED FOR DEVICE 0F48. COMPLETION CODE: 00
Because device 0F48 is an active PPRC Secondary, a FlashCopy establish using this as a target device is not permitted
ANTF0420I FCQUERY Formatted -3
DEVN SSID LSS CCA CU SERIAL ACT MAX XC PC CC RV SEQNUM
OPEN 7800 00 12 2105 000000027842 1 951 - - - N 00000000
ANTF0001I FCQUERY COMMAND COMPLETED FOR DEVICE 0F40. COMPLETION CODE: 00
ANTF0420I FCQUERY Formatted -3
DEVN SSID LSS CCA CU SERIAL ACT MAX XC PC CC RV SEQNUM
REMT 8244 00 15 2105 000000066241 1 951 - S - N 00000000
ANTF0001I FCQUERY COMMAND COMPLETED FOR DEVICE 0F40. COMPLETION CODE: 00
FCQUERY Relationship 1
DEVN SSID LSS CCA CU SERIAL ACT MAX XC PC CC RV SE SEQNUM
0F41 C800 00 3C 2107 000000001691 2 16699 N P N N NN 00000000
RELATIONSHIP DETAIL STARTING TRACK: 00000000
DEVICE LONG BUSY FOR CG: NO WRITE INHIBITED: NO
---------------------------------------------------
PARTNER SOURCE TARGET S F C C P C T S F P
LSS CCA SSID START START O V O A R R W E S M
--- --- ---- -------- -------- - - - - - - - - - -
00 3E C800 00010001 00010001 Y N N N N N Y N Y R
NO. OF TRACKS: 00000002 TRACKS TO COPY: 00000002
ESTABL: 2008/12/16 20:50:36 LAST INCR: 2008/12/16 20:50:36
00 3E C800 00010008 00010008 Y N N N N Y N Y R
NO. OF TRACKS: 00000002 TRACKS TO COPY: 00000002
ESTABL: 2008/12/16 20:50:36 LAST INCR: 2008/12/16 20:50:36
FCQUERY COMMAND COMPLETED FOR DEVICE 0F41. COMPLETION CODE: 00
***
For additional information about the FCQUERY command, refer to FlashCopy query (FCQUERY) command.