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

If the tape drive is assigned to receive system dumps, you see something like this:<br />

q 238<br />

TAPE 0238 ASSIGNED SYSTEM DUMP<br />

Ready;<br />

If the tape drive is currently being used by the TRSAVE comm<strong>and</strong>, you see<br />

something like this:<br />

q 242<br />

TAPE 0242 ASSIGNED SYSTEM TRSAVE<br />

Ready;<br />

If a tape that is not dedicated to a user is not available (boxed), you see something<br />

like this:<br />

q 0244<br />

TAPE 0244 BOXED<br />

Ready;<br />

If the tape drive is currently being unloaded following a DETACH comm<strong>and</strong>, or if <strong>CP</strong><br />

is in the process of determining whether rewind is possible, you will see something<br />

like this:<br />

q 246<br />

TAPE 0246 UNLOADING<br />

Ready;<br />

If a tape drive has been attached MULTIUSER to one or more users, you see<br />

something like this:<br />

q 2100<br />

TAPE 2100 ATTACHED TO USER1 0181 R/W NOASSIGN MULTIUSER<br />

TAPE 2100 ATTACHED TO USER2 0181 R/W NOASSIGN MULTIUSER<br />

Ready;<br />

This means that the tape drive at real address 2100 is attached to USER1 <strong>and</strong><br />

USER2 at virtual device address 0181. MULTIUSER indicates that the tape drive is<br />

shared by both users, <strong>and</strong> NOASSIGN states that the users must manage the<br />

assignment of the tape drive by using assign <strong>and</strong> unassign I/O.<br />

Responses for free or offline tape drives are in the same format.<br />

Responses from Real Unit Record Devices:<br />

If a unit record device is dedicated to a user, you see something like this:<br />

q 000c<br />

RDR 000C ATTACHED TO JAMES 02F0<br />

Ready;<br />

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

This response means that the real card reader at the device number 000C is<br />

dedicated to JAMES’s virtual machine at the virtual device number 02F0. RDR<br />

might be replaced by PRT or PUN, depending on the kind of unit record device.<br />

ATTACHED might be replaced by BOX/ATTC, which indicates that the device is<br />

attached to the virtual machine but is unavailable (usually because of a hardware<br />

problem).<br />

Responses from Active Readers: If a reader is assigned to the system for spooling<br />

activity <strong>and</strong> it is currently active with a spool file, you see a message like this:

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

Saved successfully!

Ooh no, something went wrong!