Copying a FlashCopy image copy by using COPYTOCOPY
COPYTOCOPY can create up to four sequential image copies of a FlashCopy® image copy. COPYTOCOPY and COPY are the only utilities that can create sequential copies from a FlashCopy image copy.
About this task
Making sequential copies of a FlashCopy image copy is useful if you need to unload data from an image copy. Because the UNLOAD utility does not accept FlashCopy image copies as input, you must first make a sequential copy of the FlashCopy image copy and then unload the data from the sequential copy.
Procedure
To copy a FlashCopy image copy:
In the COPYTOCOPY utility control statement, specify all of the following options:
- FROMCOPY option with the name of VSAM data set that contains the FlashCopy image copy
- DSNUM option with the appropriate data set or partition number for the FlashCopy image copy
- COPYDDN and RECOVERYDDN as needed to indicate which sequential copies you want to create