IBM System storage DS6000 Series Redbook page 128

Copy services with ibm system z
Hide thumbs Also See for System storage DS6000 Series:
Table of Contents

Advertisement

Example 9-14 Incremental FlashCopy invoked with FCESTABL and INCREMENTAL(YES)
//*********************************************************************
//*
ESTABLISH FLASHCOPY RELATIONSHIP
//*
SDEVN - SOURCE FLASHCOPY VOLUME
//*
TDEVN - TARGET FLASHCOPY VOLUME
//*********************************************************************
//STEP1
//SYSTSPRT DD SYSOUT=*
//SYSUADS DD DSN=SYS1.UADS,DISP=SHR
//SYSLBC
//SYSTSIN DD *
FCESTABL SDEVN(X'3500') TDEVN(X'4500') INCREMENTAL(YES)
FCESTABL SDEVN(X'3501') TDEVN(X'4501') INCREMENTAL(YES)
/*
Note: Incremental FlashCopy is only supported for full volumes, with a limit of one full
volume incremental relationship per volume. A single Incremental relationship can coexist
with as many as eleven nonincremental relationships per track, up to the maximum
number of FlashCopy relationships allowed on the volume. The normal FlashCopy
restrictions apply to the target tracks of an incremental relationship.
Full volume background copy
The type of the FlashCopy operation is specified with the TSO FCESTABL command and
MODE parameter. If a MODE(COPY) option is specified (see Example 9-15) then a full
volume copy is performed in the background. The FlashCopy relationship ends when the
background copy is completed or the FCWITHDR command is issued. If you specify
MODE(COPY), data on the target device is overlaid within the track extents specified. In case
the MODE parameter is omitted on the FCESTABL command, then a full volume copy will
take place.
Example 9-15 Full volume background copy - FCESTABL with MODE(COPY)
//*********************************************************************
//*
ESTABLISH FLASHCOPY RELATIONSHIP
//*
SDEVN - SOURCE FLASHCOPY VOLUME
//*
TDEVN - TARGET FLASHCOPY VOLUME
//*********************************************************************
//STEP1
//SYSTSPRT DD SYSOUT=*
//SYSUADS DD DSN=SYS1.UADS,DISP=SHR
//SYSLBC
//SYSTSIN DD *
FCESTABL SDEVN(X'3500') TDEVN(X'4500') MODE(COPY)
FCESTABL SDEVN(X'3501') TDEVN(X'4501')
/*
FlashCopy NOCOPY option
In case that MODE(NOCOPY) is used in a FlashCopy relationship between the source and
target devices for the specified volume or extent ranges, the background copy operation is
not initiated (see Example 9-16 on page 105).
When the DS6000 receives an update to a source track in a FlashCopy NOCOPY
relationship, a copy of the point-in-time (pre-update) data is preserved on the target volume.
A FlashCopy relationship established in NOCOPY mode remains active until one of the
following occurs:
104
IBM System Storage DS6000 Series: Copy Services with IBM System z
EXEC PGM=IKJEFT01,REGION=256K
DD DSN=SYS1.BRODCAST,DISP=SHR
EXEC PGM=IKJEFT01,REGION=256K
DD DSN=SYS1.BRODCAST,DISP=SHR
*
*
*
*
*
*

Advertisement

Table of Contents
loading

Table of Contents