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

►►<br />

LOCate<br />

Authorization<br />

Purpose<br />

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

Usage Notes<br />

Responses<br />

RDEV<br />

rdev<br />

▼<br />

rdev<br />

rdev1-rdev2<br />

Privilege Class: C, E<br />

Use LOCATE RDEV to find the addresses of a real device block <strong>and</strong> its associated<br />

control blocks.<br />

rdev<br />

rdev1-rdev2<br />

specifies a real device number, a range of real device numbers, or a<br />

combination of real device numbers <strong>and</strong> ranges of real device numbers. <strong>CP</strong><br />

displays the address of the real device block (RDEV) <strong>and</strong>, if there are any, the<br />

addresses of its associated control blocks.<br />

1. LOCATE rdev is not a valid comm<strong>and</strong> for SNA/CCS terminals, which are<br />

connected through a VTAM service machine <strong>and</strong> have no real device address<br />

known to <strong>CP</strong>. However, each logged-on or dialed SNA/CCS terminal has a<br />

dynamic RDEV control block. For SNA/CCS terminals, the user finds the RDEV<br />

control block by using the LOCATE VDEV userid vdev comm<strong>and</strong> (page 559).<br />

This comm<strong>and</strong> returns the address of the VDEV control block, <strong>and</strong> the VDEV<br />

contains a pointer to the RDEV.<br />

2. There are several LOCATE comm<strong>and</strong>s (LOCATE RDEV, LOCATE SYMBOL,<br />

LOCATE <strong>VM</strong>DBK) that treat the qualifying keyword on locate as optional. The<br />

use of the RDEV keyword on this LOCATE comm<strong>and</strong> is recommended to avoid<br />

undesired results.<br />

Response 1:<br />

If you enter a LOCATE RDEV comm<strong>and</strong>, you may see something like this:<br />

locate rdev 0500-0504 0a01-0a02 0e0e<br />

Dev RDEV <strong>CP</strong>VOL VEXBK RSPBK SPFBK<br />

0500 07AFB3C8 * * * *<br />

0501 07AFB5A8 * * * *<br />

0502 07AFB788 * * * *<br />

0503 07AFB968 * * * *<br />

0504 07AFBB48 * * * *<br />

0A01 07AF05A8 07B1CB30 07B6602C * *<br />

0A02 07AF0788 07B1CB68 07B6B02C * *<br />

0E0E 07ADC1E8 * * 07AA30E8 075ECD28<br />

Ready;<br />

LOCATE RDEV<br />

►◄<br />

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

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

Saved successfully!

Ooh no, something went wrong!