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.

QUERY (Real Device)<br />

q 280-285<br />

DASD 0280 <strong>CP</strong> SYSTEM XAUSR1 49<br />

DASD 0281 <strong>CP</strong> SYSTEM XAUSR2 24<br />

DASD 0282 <strong>CP</strong> SYSTEM XAUSR3 49<br />

DASD 0283 <strong>CP</strong> SYSTEM XAUSR4 34<br />

DASD 0284 <strong>CP</strong> SYSTEM XAUSR5 42<br />

DASD 0285 <strong>CP</strong> SYSTEM XAUSR6 20<br />

Ready;<br />

The first number listed is the real device number of the DASD. SYSTEM indicates<br />

the device is allocated to the system for use as users’ minidisks. OWNED indicates<br />

the device is used by the system for paging <strong>and</strong> spooling activity. XAUSR1 <strong>and</strong> the<br />

rest are volume labels of the devices. The last number indicates the number of links<br />

to minidisks contained on the volume.<br />

The following response is also displayed if real DASDs are attached to the system<br />

for access as user minidisks or for system paging, spooling, or temporary disk<br />

space. This response is longer than the response above because the device may<br />

be reserved (shared option is on), it may have a reserve pending, or it is currently<br />

reserved.<br />

q 181a-181c<br />

DASD 181A <strong>CP</strong> SYSTEM ESAP2C SHARED<br />

DASD 181B <strong>CP</strong> OWNED ESAP2F RESERVE PENDING FOR USER DAVID<br />

DASD 181C <strong>CP</strong> OWNED ESAP30 RESERVED BY SYSTEM<br />

Ready;<br />

If a DASD at the specified address is dedicated to a user, you will see a message<br />

like this:<br />

q 820<br />

DASD 0820 ATTACHED TO OLIVER 01FC R/0 XAUSR4<br />

Ready;<br />

This means that the DASD at the real device number 0820 is attached to OLIVER’s<br />

virtual machine as the virtual device 01FC. The DASD’s volume identifier is<br />

XAUSR4. R/O means that the user OLIVER has read-only access to the DASD.<br />

R/O might also read R/W, which would mean that the user had read-write access.<br />

ATTACHED may be replaced with BOX/ATTC, which means that although the<br />

device is dedicated to a user, it is unavailable (usually because of a hardware<br />

condition).<br />

If the device was defined by the DEVNO option on the MDISK statement, you see a<br />

response like this:<br />

QUERY F8A3<br />

DASD F8A3 <strong>CP</strong> SYSTEM DEVNO 13<br />

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

The first number listed is the real device number of the DASD. SYSTEM indicates<br />

the device is allocated for use as a minidisk. DEVNO indicates that this device was<br />

defined by the DEVNO option on the MDISK statement. The last number indicates<br />

the number of links to the full-pack minidisk.<br />

There must be at least one link, either by the owner of the disk or another user, to<br />

get the DEVNO response. One cannot link to a DEVNO mdisk attached to the<br />

system, it must be a free device. Even when linked, a DEVNO device is not<br />

attached to the system.<br />

The volser for a DEVNO device is available from QUERY SYSTEM rdev.<br />

Responses from Real Graphic Display Devices:

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

Saved successfully!

Ooh no, something went wrong!