FLASHCOPY SYNC is only useful for older (Version 1) FlashCopy hardware. Modern storage subsystems, such as DS8000, will not change their behavior with this parameter. From the FLASHCOPY helpfile:
SYNChronous (For FlashCopy Version 1 hardware) tells CP to process the command immediately and to wait until the hardware has accepted all parameters, all messages from the Enterprise Storage Server(R) (ESS) subsystem have been processed, and the FLASHCOPY command completes. As stated previously, issuing a second FLASHCOPY command while one is in progress will result in an error. The CP QUERY FLASHCOPY HARDWARE command can be used to determine if a FlashCopy has completed it's background copy or not, regardless of whether or not it's a persistent relationship. Regards, Eric Eric Farman z/VM I/O Development IBM Endicott, NY (607)429-4958 (tie 620) From: Kris Buelens <kris.buel...@gmail.com> To: IBMVM@LISTSERV.UARK.EDU Date: 06/17/2011 04:03 PM Subject: Re: CLONEBKP: New package at zVM/downloads Sent by: The IBM z/VM Operating System <IBMVM@LISTSERV.UARK.EDU> FLASHCOPY SYNC does not wait until the target disk is copied. So, you can try to launch a second FLASHCOPY while the previous is still busy, and your attempt will fail. 2011/6/17 Alan Altmark <alan_altm...@us.ibm.com> On Friday, 06/17/2011 at 01:37 EDT, Scott Rohling <scott.rohl...@gmail.com> wrote: > It will likely fail, with a message that the target is not in the required > state and is the target of an existing flashcopy... until the background > copying finishes -- you won't be able to flash to the same target. This sounds like a good use of the FLASHCOPY SYNCH option. Alan Altmark z/VM and Linux on System z Consultant IBM System Lab Services and Training ibm.com/systems/services/labservices office: 607.429.3323 mobile; 607.321.7556 alan_altm...@us.ibm.com IBM Endicott -- Kris Buelens, IBM Belgium, VM customer support