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

Table 28 Parameters available with FLASHCOPY command (continued)
DescriptionValueParameter
Specifies the starting cylinder of the copy destination. Specify
0 if the entire volume is the target.
Starting cylinder of targetscyl2
Specifies the ending cylinder of the copy destination. END can
be specified if the entire volume is the target.
Ending cylinder of targetecyl2
A usage example of the FLASHCOPY command is shown below. This example copies cylinders 0
to 99 from device 10 to device 20 in copy mode. The relationship is canceled after the completion
of copy.
FLASHCOPY 10 0 END 20 0 END
Command complete: FLASHCOPY 0010 0 99 TO 0020 0 99
NOTE: The FLASHCOPY command cancels the relationship after the completion of the copy.
Using z/VM FLASHCOPY ESTABLISH to establish relationships
The FLASHCOPY ESTABLISH command does not cancel the relationship even after the completion
of the copy. The following table shows the parameters are available when establishing relationships
by using the FLASHCOPY ESTABLISH command.
Table 29 Parameters for the FLASHCOPY ESTABLISH command
DescriptionValueParameter
Specifies the device number (device address or mini disk
number), the starting cylinder, and the ending cylinder of the
copy source.
Primary device number, Starting cylinder
of source, Ending cylinder of source
SOURCE
Specifies the device number (device address or mini disk
number), the starting cylinder, and the ending cylinder of the
copy destination.
Secondary device number, Starting
cylinder of target, Ending cylinder of
target
TARGET
Establishes a relationship whose target is the entire volume. If
the S-VOL and the T-VOL are updated, the updated part is
managed as differential data.
-CHGRECORD
Write to the S-VOL is not allowed until the command for
cancelling write-protect is executed.
-NOTGTWRITE
Establishes a relationship whose target is the entire volume. If
the S-VOL and the T-VOL are updated, the updated part is
-REVERSIBLE
managed as differential data, and write to the T-VOL is not
allowed until the command for cancelling write-protect is
executed.
Does not perform the background copy when establishing the
relationship.
-NOCOPY
When the T-VOL is a TSE-VOL and the pool becomes full, the
state of relationship will change to Failed State. For details about
-FAILNOSPACE
Failed State, see (page 93). When the T-VOL is a TSE-VOL, this
parameter is set by default.
This parameter can be set when the T-VOL is not a TSE-VOL. If
this parameter is specified when the T-VOL is a TSE-VOL, creating
relationships will fail.
-NOSETARGET
For details about the values, see the IBM manual.
A usage example of the FLASHCOPY ESTABLISH command is shown below. This example copies
cylinders 0 to 99 from device 10 to device 20 in copy mode. The relationship remains even after
the completion of copy.
Using z/VM CP to establish relationships for Compatible FlashCopy 59