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

►►<br />

LOCate<br />

Authorization<br />

Purpose<br />

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

VDEV<br />

Usage Notes<br />

Responses<br />

userid<br />

*<br />

▼<br />

Privilege Class: C, E<br />

Use LOCATE VDEV to display the address of control blocks associated with a user<br />

or a user’s virtual device.<br />

userid<br />

identifies the virtual machine whose <strong>CP</strong> control blocks you want to locate. To<br />

display the address of control blocks associated with your own virtual machine,<br />

specify userid as an asterisk (*).<br />

vdev<br />

vdev1-vdev2<br />

identifies a virtual device number or range of virtual device numbers. When you<br />

specify this option, <strong>CP</strong> displays the address of the virtual device block (VDEV)<br />

<strong>and</strong>, if the device is a spooled device, the address of the virtual device<br />

simulation block (VDSBK).<br />

Note: If you do not specify the VDEV keyword, you can only specify one value<br />

for vdev.<br />

1. You can use the LOCATE VDEV userid vdev comm<strong>and</strong> to find the RDEV control<br />

block for SNA/CCS terminals. This comm<strong>and</strong> returns the address of the VDEV<br />

control block, which contains a pointer to the RDEV.<br />

Response 1:<br />

vdev<br />

vdev1-vdev2<br />

If you use the LOCATE VDEV comm<strong>and</strong> to display the addresses of control blocks<br />

for a range of virtual devices for the DAVID user ID, you may see something like<br />

this:<br />

locate vdev david 0100-0150<br />

Userid Dev VDEV VDSBK VPXBK VSPBK Rdev<br />

DAVID 0120 04829998 * * * 0287<br />

DAVID 0121 04829A70 * * * 0288<br />

DAVID 0122 04829E28 * * * 0285<br />

DAVID 0123 04829F00 * * * 0284<br />

DAVID 0124 044D3008 * * * 0289<br />

DAVID 0125 044D30E0 * * * 0283<br />

DAVID 0126 044D31B8 * * * 0284<br />

Ready;<br />

LOCATE VDEV<br />

►◄<br />

Chapter 2. <strong>CP</strong> <strong>Comm<strong>and</strong>s</strong> 559

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

Saved successfully!

Ooh no, something went wrong!