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.

Responses<br />

7. A tape device attached with the SINGLEUSER option (the default) will<br />

automatically be unassigned by <strong>CP</strong> when the device is detached, unless the<br />

device was attached with the NOASSIGN option.<br />

A tape device attached with both the SINGLEUSER <strong>and</strong> NOASSIGN options<br />

will not be unassigned by <strong>CP</strong> when the device is detached, regardless of<br />

whether the tape is currently assigned by a guest. In other words, <strong>CP</strong> will not<br />

change the ASSIGNED or UNASSIGNED status of the drive. It is the<br />

responsibility of the guest to issue the ASSIGN CCW when it needs the tape<br />

drive <strong>and</strong> to issue the UNASSIGN CCW when it is finished using the drive.<br />

8. A tape device attached with the MULTIUSER option will be unassigned by <strong>CP</strong><br />

when the device is detached, even though MULTIUSER implies NOASSIGN.<br />

This prevents one user from unexpectedly locking out many other users from<br />

the drive.<br />

9. Devices that are part of a virtual network adapter cannot be detached<br />

individually. Virtual network adapters are detached with the DETACH NIC<br />

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

10. If you use DETACH to detach a virtual disk in storage, <strong>and</strong> you are the last<br />

user, the virtual disk in storage is destroyed.<br />

11. SET IMSG OFF suppresses informational messages for this comm<strong>and</strong>.<br />

12. For more information, see “Usage Notes” on page 232.<br />

In Response 1, type is one of the following:<br />

Type Meaning<br />

CONS Console<br />

CTCA Channel-to-channel adapter<br />

CTLR 3705 Communications Controller<br />

DASD Direct access storage device<br />

DEV Any other device<br />

F<strong>CP</strong> SCSI device adapter<br />

GRAF Display device<br />

MSC Mass Storage Controller<br />

OSA Open Systems Adapter<br />

PRT Printer<br />

PUN Card punch<br />

RDR Card reader<br />

SWCH Dynamic Switching Device<br />

TAPE Magnetic tape<br />

The type variable in the remaining responses is omitted when a range of device<br />

numbers or multiple device numbers are being reflected in the response.<br />

Response 1:<br />

{type vdev} DETACHED<br />

{vdev ... }<br />

{vdev-vdev}<br />

is the response you receive for the device or devices that were successfully<br />

detached (if you are not the primary system operator).<br />

Response 2:<br />

CTCA vdev DROPPED FROM userid vdev<br />

DETACH (Virtual Device)<br />

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

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

Saved successfully!

Ooh no, something went wrong!