Copying from a specific image copy

You can specify a particular image copy that is to be used as input to the COPYTOCOPY utility by using the FROMCOPY option.

Procedure

Invoke the COPYTOCOPY utility with the FROMCOPY keyword.
If the input data set is a FlashCopy® image copy and the copied object is partitioned, you must also specify the data set number by including the DSNUM option in the control statement.
If you specify the FROMCOPY keyword and the specified data set is not found in SYSIBM.SYSCOPY, COPYTOCOPY issues message DSNU1401I. Processing for the object then terminates.

Example

The following control statement specifies that COPYTOCOPY is to make three copies of the table space TPA9031C in database DBA90301 from the image copy data set DH109003.COPY1.STEP1.COPY3:

COPYTOCOPY TABLESPACE DBA90301.TPA9031C
   FROMCOPY DH109003.COPY1.STEP1.COPY3
   COPYDDN(,COPY2)
   RECOVERYDDN(COPY3,COPY4)