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.

DISABLE (Device)<br />

Usage Notes<br />

Responses<br />

Messages<br />

1. On a single comm<strong>and</strong> line you may combine device numbers, lists of device<br />

numbers, <strong>and</strong> ranges of device numbers. The beginning <strong>and</strong> ending device<br />

numbers of a range must both be either real device numbers or both logical<br />

display printer numbers.<br />

2. If the devices you specify on the DISABLE (device) comm<strong>and</strong> are not active,<br />

they are disabled immediately. If the devices are active, they are disabled when<br />

the user issues the LOGOFF or DISCONNECT comm<strong>and</strong>. A device is active if a<br />

user is logged onto it, or if a user is dialed from it.<br />

3. If you enter the ENABLE (device) comm<strong>and</strong> to a device before it is physically<br />

disabled, you reinstate the device’s enabled status <strong>and</strong> negate previously issued<br />

DISABLE comm<strong>and</strong>s directed to the device.<br />

4. The DISABLE (device) comm<strong>and</strong> is an ASYNCHRONOUS comm<strong>and</strong>. This<br />

means the virtual machine is free to issue other comm<strong>and</strong>s before <strong>CP</strong> finishes<br />

disabling the specified devices. <strong>CP</strong> issues the “Comm<strong>and</strong> complete” response<br />

when it has finished processing the DISABLE (device) comm<strong>and</strong>, not when it<br />

has finished disabling all of the specified devices. Thus, one or more devices<br />

may not be completely disabled when you receive the “Comm<strong>and</strong> complete”<br />

response.<br />

To display whether the specified real devices (rdev) are disabled, use the<br />

QUERY (Real Device) STATUS comm<strong>and</strong> (page 955).To display whether the<br />

specified logical devices (ldev) are disabled, use the QUERY LDEVS comm<strong>and</strong><br />

(page 842).<br />

Comm<strong>and</strong> complete<br />

H<strong>CP</strong>002E Invalid oper<strong>and</strong> - oper<strong>and</strong><br />

is issued when the comm<strong>and</strong> completes successfully.<br />

H<strong>CP</strong>006E Invalid device type - {rdev | vdev | ldev}<br />

H<strong>CP</strong>009E Invalid range - range<br />

H<strong>CP</strong>026E Oper<strong>and</strong> missing or invalid<br />

H<strong>CP</strong>040E Device {rdev | vdev | ldev} does not<br />

exist<br />

H<strong>CP</strong>046E devtype rdev offline<br />

H<strong>CP</strong>053E [XAUTOLOG failed for userid:] {userid |<br />

value} not in <strong>CP</strong> directory<br />

H<strong>CP</strong>140E devtype {rdev | ldev} attached to userid<br />

H<strong>CP</strong>263E Too many oper<strong>and</strong>s were supplied for<br />

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

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

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

Saved successfully!

Ooh no, something went wrong!