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.

QUERY <strong>CP</strong>OWNED<br />

QUERY <strong>CP</strong>OWNED<br />

►►<br />

Query<br />

Authorization<br />

Purpose<br />

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

<strong>CP</strong>OWNed<br />

Usage Notes<br />

Responses<br />

DASd<br />

VOLid<br />

Privilege Class: G<br />

Use QUERY <strong>CP</strong>OWNED to display the list of <strong>CP</strong>-owned DASD volumes.<br />

DASd rdev<br />

DASd rdev1-rdev2<br />

tells <strong>CP</strong> to display information on only the <strong>CP</strong>-owned volumes whose addresses<br />

are in the range specified.<br />

VOLid volid<br />

tells <strong>CP</strong> to display information on only the volid specified. You can specify the<br />

volid as a generic volume identifier. A generic volume identifier is a 1- to<br />

6-character pattern that can use asterisks (*) in place of zero or more<br />

characters <strong>and</strong> percents (%) in place of exactly one character. For example,<br />

VOLID *EM% displays all <strong>CP</strong>-owned volumes ending with a 3-character<br />

sequence that begins with the letters ‘EM’.<br />

1. If you specify no parameters on the QUERY <strong>CP</strong>OWNED comm<strong>and</strong>, <strong>CP</strong> displays<br />

information on all <strong>CP</strong>-owned volumes, as well as gaps in the volume list.<br />

2. You can use the DEFINE <strong>CP</strong>OWNED comm<strong>and</strong> (page 141) to bring new<br />

<strong>CP</strong>-owned volumes on line into empty slots in the volume list. <strong>CP</strong> allocates<br />

empty slots for every slot number that was skipped in the system configuration<br />

file. You can define additional empty slots at the end of the list of <strong>CP</strong>-owned<br />

DASD by explicitly defining them in the system configuration file with<br />

<strong>CP</strong>_OWNED statements.<br />

Response 1:<br />

rdev<br />

rdev1-rdev2<br />

volid<br />

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

If you enter the QUERY <strong>CP</strong>OWNED comm<strong>and</strong> with no oper<strong>and</strong>s, you may see a<br />

response similar to this:<br />

Slot Vol-ID Rdev Type Status<br />

1 ESARES 0A0F Own Online <strong>and</strong> attached<br />

2 ESAP01 0A01 Own Online <strong>and</strong> attached<br />

3 ESAP02 0A02 Own Online <strong>and</strong> attached<br />

4 ESAP03 0A03 Own Online <strong>and</strong> attached<br />

5 ------ ---- --- Reserved<br />

6 ESAP05 0A05 Share Online<br />

7 ESAP06 0A06 Own Online<br />

8 ESAP07 0A07 Own Online<br />

►◄

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

Saved successfully!

Ooh no, something went wrong!