27.12.2012 Views

z/VM: CP Commands and Utilities Reference - z/VM - IBM

z/VM: CP Commands and Utilities Reference - z/VM - IBM

z/VM: CP Commands and Utilities Reference - z/VM - IBM

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

FLASHCOPY<br />

►►<br />

FLASHCopy<br />

Authorization<br />

Purpose<br />

Oper<strong>and</strong>s<br />

vdev1<br />

Usage Notes<br />

scyl1<br />

ecyl1<br />

END<br />

Privilege Class: B<br />

TO<br />

vdev2<br />

scyl2<br />

ecyl2<br />

END<br />

Use FLASHCOPY to copy data from one virtual DASD to another.<br />

FLASHCOPY<br />

vdev1<br />

is the address of the virtual DASD to be used as the source of the copy. The<br />

virtual DASD must be on a Control Unit that has the FLASHCOPY hardware<br />

feature. If a valid address is not specified, the comm<strong>and</strong> is rejected.<br />

scyl1<br />

is the first cylinder to be copied. If the whole virtual device is to be copied, this<br />

should be 0.<br />

ecyl1<br />

is the last cylinder to be copied. If the whole virtual device is to be copied, this<br />

should be END.<br />

TO<br />

vdev2<br />

is the address of the virtual DASD to be used as the target of the copy. The<br />

virtual DASD must be on a Control Unit that has the FLASHCOPY hardware<br />

feature <strong>and</strong> must not be read only. If a valid address is not specified, the<br />

comm<strong>and</strong> is rejected.<br />

scyl2<br />

is the first cylinder to be written. If the whole virtual device is to be written, this<br />

should be 0.<br />

ecyl2<br />

is the last cylinder to be written. If the whole virtual device is to be written, this<br />

may be END.<br />

1. In order for this comm<strong>and</strong> to be successful, the source <strong>and</strong> target DASD must<br />

be correctly defined on control units that support the FLASHCOPY feature. If<br />

this is not the case, error message H<strong>CP</strong>332E is generated.<br />

2. This comm<strong>and</strong> may produce delayed responses. Refer to “Delayed Responses<br />

to <strong>CP</strong> <strong>Comm<strong>and</strong>s</strong>” on page 8 for more information.<br />

3. Special care should be exercised when copying to cylinder zero of the target<br />

virtual device. If the target virtual device starts at real cylinder zero, then the <strong>CP</strong><br />

Volume label will be overwritten. This could cause a duplicate volume to be<br />

created, or a volume that cannot be mounted.<br />

4. FLASHCOPY supports source-target pairs according the DASD types of the<br />

source <strong>and</strong> target. Table 8 on page 436 shows the source-target pairs<br />

►◄<br />

Chapter 2. <strong>CP</strong> <strong>Comm<strong>and</strong>s</strong> 435

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!