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.

GIVE (Virtual Device)<br />

►►<br />

►<br />

GIVE<br />

R/W<br />

R/O<br />

Authorization<br />

Purpose<br />

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

Options<br />

Virtual<br />

vdev1<br />

TO<br />

Privilege Class: B<br />

userid<br />

AS<br />

vdev2<br />

NORETurn<br />

RETurn<br />

NORETurn<br />

UNLOAD<br />

GIVE (Virtual Device)<br />

LEAVE<br />

UNLOAD<br />

Use GIVE (Virtual Device) to transfer control of a dedicated tape drive from your<br />

virtual machine to another virtual machine.<br />

vdev1<br />

is the virtual address of the tape drive to be transferred. If this is not specified,<br />

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

userid<br />

TO userid<br />

identifies the virtual machine that receives the tape drive. The receiver must be<br />

logged on to the system. The specified user ID must not be that of the invoking<br />

virtual machine (for example, one cannot GIVE a tape drive to oneself). If a<br />

valid user ID is not specified, the comm<strong>and</strong> is rejected.<br />

Use the keyword TO when:<br />

v You specify a user ID with four numbers or fewer<br />

v You specify a user ID that could also be a valid hexadecimal device address<br />

(for example, ABC)<br />

v You specify for giver or receiver a user ID that is “TO” or “FR” or “FRO” or<br />

“FROM”.<br />

vdev2<br />

AS vdev2<br />

is the virtual number to be assigned to the tape drive when it is attached to the<br />

target virtual machine. If this is omitted, the real device number is assigned as<br />

the virtual device number.<br />

Use the keyword AS when the device number to be specified can also be a<br />

valid user ID.<br />

Options may be specified in any order. Conflicting options (for example,<br />

RETURN/NORETURN) cause an error message to be issued <strong>and</strong> the comm<strong>and</strong> to<br />

be terminated. The only valid options are:<br />

►<br />

►◄<br />

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

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

Saved successfully!

Ooh no, something went wrong!