HP XP7 for Compatible FlashCopy Mirroring User Guide (TK940-96001)

Example 2 Example of the FCESTABL command (COPY mode)
FCESTABL SDEVN(X'4202') TDEVN(X'4203') MODE(NOCOPY) SETGTOCK (YES)
Using DFSMSdss to establish relationships
The DFSMSdss copy command is used to process Compatible FlashCopy SE volume copy operations.
The FCSETGTOK and FCNOCOPY parameters must be specified when performing Compatible
FlashCopy SE operations.
DFSMSdss processes the COPY FULL command in a few seconds and establishes the Compatible
FlashCopy SE relationship simultaneously as it completes the processing. The completion of this
process is not reported to the user.
The following example shows the DFSMSdss command for processing volume copy operations
with Compatible FlashCopy SE.
In this example, all data in volume FCPY05 is copied to volume FCPY06.
Example 3 COPY FULL command
//COPY FULL 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
FCSETGTOK(FAILRELATION) FCNOCOPY
/*
Using ICKDSF to establish relationships
The following steps show how to use the ICKDSF FLASHCPY ESTABLISH command to create
a Compatible FlashCopy SE relationship.
1. Set the T-VOL to offline. If the ONLINTGT parameter is set to YES, the T-VOL will automatically
be offline when creating relationships.
2. Specify a JCL DD statement with the DDNAME parameter, or specify the S-VOL device number
in the UNITADDRESS parameter.
3. Specify the CU number, the LDEV number, and the device number of the T-VOL for the
TARGETVOL parameter.
4. Execute FLASHCPY ESTABLISH command. See the following example.
Example 4 FLASHCPY ESTABLISH command execution
FLASHCPY ESTABLISH UNIT(X'7000') TARGETVOL(X'00',X'01'
,7001) ONLINTGT(YES) SETGTOK(YES) MODE(NOCOPY)
Using z/VM CP to establish relationships
The FLASHCOPY ESTABLISH command of z/VM CP command can be used. The S-VOL and T-VOL
must be a whole volume or a full pack mini disk.
Establishing relationships for FlashCopy SE 95