Using DFSMSdss to establish Compatible FlashCopy V2 relationships by volume

Compatible FlashCopy User Guide for VSP One Block 85

Version
10.5.x
Audience
anonymous
Part Number
MK-26VSP1B031-02
ft:lastEdition
2026-05-04
Use the DFSMSdss COPY FULL command to perform a Compatible FlashCopy® V2 volume copy operation.

The following table describes the parameters you can use with the DFSMSdss command to establish Compatible FlashCopy® V2 relationships by volumes.

Table. Parameters for DFSMSdss, Volume copying

Parameter

Value

Description

COPYVOLID1

N/A

Enables you to select whether you want to copy the ID label (VOLSER). When specified, the VOLSER of the source volume is copied to the target volume. When COPYVOLID is executed, the target volume is placed offline automatically.

COPYVOLID must be specified for volumes controlled by SMS. When the DUMPCONDITIONINO command is specified, the VOLSER of the source volume is copied to the backup tape or disk. In this case, you do not need to specify COPYVOLID to copy the volume label.

DUMPCONDITIONINO1

N/A

Specifies that the purpose of the copy operation is to create a backup copy and not for using the copied volume with an application.

FCNOCOPY

N/A

Sets the copy operation mode to NOCOPY. When specified, the background copy operation is not performed.

FCNOCOPYTOCOPY

N/A

Specifies that a relationship established using NOCOPY mode will use the COPY option, and a background copy operation starts. When all of the data is copied, the relationship is released automatically.

FASTREPLICATION

PREFERRED

Executes the Compatible FlashCopy® V2 copy operation as a priority. If Compatible FlashCopy® V2 cannot be used, Concurrent Copy or a host copy operation is executed.

When FASTREPLICATION is not specified, the copy operation will be executed as if PREFERRED was specified.

REQUIRED

Executes the Compatible FlashCopy® V2 copy operation unconditionally. If Compatible FlashCopy® V2 cannot be used, an error is returned, no relationship is established, and no copy operation is executed.

NONE

Specifies that Compatible FlashCopy® V2 is not to be used for the copy operation.

FCFULLVOLUMERELATION

N/A

Creates an Compatible FlashCopy® V2 relationship for all areas of the S-VOL (areas that have datasets and areas that do not have datasets).

FCFASTREVERSERESTORE

N/A

Replaces the S-VOL and T-VOL of an Compatible FlashCopy® V2 relationship with each other, and then performs the FastReverseRestore function.

FCCGFREEZE

N/A

Operates on the host and temporarily suspends write operations to the S-VOLs when you establish relationships to maintain data consistency. Use the DFSMSdss CGCREATE command or the TSO FCWITHDR command to resume the write operation to the S-VOLs.

If a timeout occurs, write operations might be resumed even if you do not run the command for resuming write operations. You can change the set timeout value (120 seconds by default). For more information, see Suspending write operations to S-VOLs when establishing Compatible FlashCopy V2 relationships.

FCINCREMENTAL

N/A

To use the Incremental FlashCopy® function, use FCINCREMENTAL. For details about the Incremental FlashCopy® function, see Reverse Restore (Compatible FlashCopy V2 only).

When FCINCREMENTAL is specified, a relationship covering the entire volume is created. This relationship is maintained after the background copy operation is completed. When FCINCREMENTAL is specified, the following functionality becomes available.

  • The changed tracks since the last COPY command between the S-VOL and the T-VOL are tracked.
  • When you re-execute the COPY command, only the changed tracks (differential data) are copied to the T-VOL.

If you reverse the S-VOL and the T-VOL and execute the COPY command (Reverse Restore), only the differential data is copied to the resulting T-VOL.

When you specify this parameter, an Incremental Type2 relationship is created if the IBM® host supports the Multiple Incremental FlashCopy® function. For other cases, Incremental Type1 relationships are created.

FCINCREMENTALLAST

N/A

Deletes the relationship after completing the differential data copy operation.

When you re-execute the COPY command by specifying FCINCREMENTALLAST on a relationship created by specifying FCINCREMENTAL, only the differential data will be copied to the T-VOL. After the copy has completed, the relationship is deleted.

If you reverse the S-VOL and the T-VOL and execute the COPY command (Reverse Restore), only the differential data is copied to the resulting T-VOL. After Reverse Restore has completed, the relationship is deleted.

This operation is the same for Incremental Type1 relationships and Incremental Type2 relationships.

FCINCRVERIFY

N/A

Verifies the condition established when re-executing the COPY command.

NOREVERSE

Only executes the copy operation when you specify the S-VOL and the T-VOL in the same way as when the relationship was created.

REVERSE

Only executes the copy operation when you specify the S-VOL and the T-VOL in the opposite way as when the relationship was created.

DEBUG

FRMSG2

Specifies that you want to receive error description information if the Compatible FlashCopy® V2 operation fails. You can specify the amount of error information you want to receive.

FCTOPPRCPRIMARY

PRESMIRNONE

Specify this parameter to use the FlashCopy® to PPRC Primary Volume function or the FlashCopy® to URz Primary Volume function. Specify this parameter when the Compatible FlashCopy® V2 T-VOL and the TCz or URz P-VOL share the same volume.

PRESMIRREQ

Establishes the relationship using the Preserve Mirror FlashCopy® function. If the relationship cannot be established, the system rejects the command.

PRESMIRRPREF

Establishes the relationship using the Preserve Mirror FlashCopy® function. If the relationship cannot be established, the copy operation is executed using the existing FlashCopy® to PPRC Primary Volume function.

FCSETGTOK3

FAILRELATION

Specifies that T-VOL can be a TSE-VOL.

  1. You cannot specify COPYVOLID and DUMPCONDITIONINO at the same time.
  2. For more information, see the IBM® documentation.
  3. Valid with Compatible FlashCopy® SE.

When you execute the COPY FULL command, DFSMSdss determines whether the selected volumes meet the requirements for use as Compatible FlashCopy® V2 volumes. DFSMSdss automatically determines if the copy is from the host or not. DFSMSdss processes the COPY FULL command in a few seconds and establishes the Compatible FlashCopy® V2 relationship as it completes the copy operation. The job completion is not reported.

The following example shows the DFSMSdss COPY FULL command for processing Compatible FlashCopy® V2 volume copy operations:

//COPYFULL JOB .....
//*
//INSTIMG EXEC PGM=ADRDSSU
//SYSPRINT DD SYSOUT=*
//SYSUDUMP DD SYSOUT=V,OUTLIM=3000
//VOL1   DD UNIT=3390,VOL=SER=FCPY05,DISP=OLD
//VOL2   DD UNIT=3390,VOL=SER=FCPY06,DISP=OLD
//SYSIN DD *
 COPY FULL INDYNAM(FCPY05) OUTDYNAM(FCPY06) COPYVOLID
/*

The following example shows the COPY FULL command with the FCCGFREEZE parameter:

//SYSPRINT DD SYSOUT=*
//VOL1   DD UNIT=3390,VOL=SER=FCV200,DISP=OLD
//VOL2   DD UNIT=3390,VOL=SER=FCV201,DISP=OLD
//SYSIN   DD*
        COPY FULL INDDNAME(VOL1) OUTDDNAME(VOL2)
            FASTREP(PREFERRED) FCCGFREEZE

The following example shows the use of the CGCREATE parameter:

//SYSPRINT DD SYSOUT=*
//SYSIN   DD*
        CGCREATE ACCESSVOLUME(FCV200) FCCGVERIFY(FCV200)

The following example shows the COPY FULL command with the FCINCREMENTAL parameter:

//SYSPRINT DD SYSOUT=*
//VOL1     DD UNIT=3390,VOL=SER=FCV200,DISP=OLD
//VOL2     DD UNIT=3390,VOL=SER=FCV201,DISP=OLD
//SYSIN    DD * 
  COPY FULL INDDNAME(VOL1) OUTDDNAME(VOL2)
     FCINCREMENTAL