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.

LOCATE VDEV<br />

Messages<br />

Note: An asterisk in a response field indicates there is no information for that field.<br />

In this example,<br />

Userid<br />

shows the user ID you specified.<br />

Dev shows the virtual device number you specified.<br />

VDEV shows the address of the virtual device simulation block associated with<br />

that device number.<br />

VPXBK<br />

shows the address of the virtual printer extension block.<br />

VSPBK<br />

shows the address of the virtual spooling device block.<br />

Rdev shows the real device number of the device you specified.<br />

Response 2:<br />

To display all user IDs (by the pattern ‘**’) that have a virtual device defined at<br />

0009, enter the following:<br />

locate vdev ** 9<br />

Userid Dev VDEV VDSBK VPXBK VSPBK Rdev<br />

CORAK 0009 01FD7B10 018B1F48 * 02A2AF38 TN6PV013<br />

OPERATOR 0009 06E6C008 01AA8F48 * 06E6C0E0 *<br />

DAWN 0009 072F8590 01EF6F48 * 072F8668 WGU00315<br />

RSCS6 0009 0201E560 02030F48 * 0201E638 *<br />

RSCS5 0009 022D0858 02024F48 * 022D0930 *<br />

VTAM 0009 027974F0 0260BF48 * 027975C8 *<br />

MURPHY 0009 02A1B1B8 028CBF48 * 02A1B290 L0002<br />

OLIVER 0009 0497CBA8 04979F48 * 0497CC80 L0000<br />

DAVID 0009 04981478 0497FF48 * 04981550 L0001<br />

PUBSAUTH 0009 04982A28 04984F48 * 04982B00 *<br />

SVCDIR 0009 056BAAC0 04A6EF48 * 056BAB98 08E0<br />

0009 is the typical virtual device for the virtual machine console.<br />

Response 3:<br />

If you do not use the VDEV keyword, you see something like this:<br />

locate david 120<br />

<strong>VM</strong>DBK VDEV<br />

04A78000 04829998<br />

Ready;<br />

H<strong>CP</strong>003E Invalid option - option<br />

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

H<strong>CP</strong>020E Userid missing or invalid<br />

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

Note: You must use the VDEV keyword to specify a range of virtual device<br />

numbers.<br />

H<strong>CP</strong>022E A virtual device number was not<br />

supplied or it was invalid.<br />

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

H<strong>CP</strong>045E userid not logged on

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

Saved successfully!

Ooh no, something went wrong!