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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

GIVE (Real Device)<br />

GIVE (Real Device)<br />

►►<br />

►<br />

GIVE<br />

Authorization<br />

Purpose<br />

rdev<br />

NORETurn<br />

NORETurn<br />

RETurn<br />

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

FRom<br />

UNLOAD<br />

LEAVE<br />

UNLOAD<br />

*<br />

userid1<br />

R/W<br />

R/O<br />

Privilege Class: B<br />

452 z/<strong>VM</strong>: <strong>CP</strong> <strong>Comm<strong>and</strong>s</strong> <strong>and</strong> <strong>Utilities</strong> <strong>Reference</strong><br />

TO<br />

*<br />

userid2<br />

Use GIVE (Real Device) to transfer control of a real tape drive dedicated to one<br />

user, from that user’s virtual machine to another user’s virtual machine.<br />

rdev<br />

is a real device number of the tape drive to be transferred from the indicated<br />

user.<br />

userid1<br />

FRom userid1<br />

* identifies the virtual machine to which the device is currently attached. The<br />

specified user must be logged on <strong>and</strong> not in the process of logging off. If you<br />

are issuing the GIVE (Real Device) comm<strong>and</strong> to give a device from your own<br />

virtual machine, you can specify userid1 as an asterisk (*).<br />

Use the keyword FROM 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 userid1 as “to” or “fr”or “fro” or “from”.<br />

userid2<br />

TO userid2<br />

* identifies the virtual machine that receives the tape drive. If you are issuing the<br />

GIVE (Real Device) comm<strong>and</strong> to transfer the ownership from another user to<br />

your virtual machine, you can specify userid as an asterisk (*). The receiver<br />

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

giver (the virtual machine to which the device is currently attached). If the user<br />

ID of the specified receiver is also a valid hexadecimal number of not more than<br />

4 digits <strong>and</strong> the immediate oper<strong>and</strong> following this oper<strong>and</strong> is not “[AS] vdev”,<br />

the comm<strong>and</strong> is rejected with error message H<strong>CP</strong>1123E.<br />

AS<br />

vdev<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 />

►<br />

►◄

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

Saved successfully!

Ooh no, something went wrong!