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 <strong>VM</strong>DBK<br />

LOCATE <strong>VM</strong>DBK<br />

►►<br />

LOCate<br />

Authorization<br />

Purpose<br />

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

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

Usage Notes<br />

Responses<br />

userid<br />

*<br />

Privilege Classes: C, E<br />

Use LOCATE <strong>VM</strong>DBK to display the address of a user’s virtual machine definition<br />

block (<strong>VM</strong>DBK).<br />

userid<br />

specifies the user ID (or user ID pattern) whose <strong>VM</strong>DBK entries <strong>CP</strong> should<br />

locate. If you use the <strong>VM</strong>DBK keyword, <strong>CP</strong> supports pattern matching as<br />

described below in Usage Note 1.<br />

* tells <strong>CP</strong> to locate the <strong>VM</strong>DBK entry for your user ID.<br />

1. Pattern matching follows the rules used by the CMS LISTFILE comm<strong>and</strong>. Use<br />

an asterisk (*) to match any number of characters; Use a percent symbol (%) to<br />

match any single character.<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 a keyword on this LOCATE comm<strong>and</strong> is recommended to avoid<br />

undesired results.<br />

Response 1:<br />

If you enter a LOCATE <strong>VM</strong>DBK comm<strong>and</strong> with the <strong>VM</strong>DBK keyword, you may see<br />

something like this:<br />

locate vmdbk cptest*<br />

Userid <strong>VM</strong>DBK Type<br />

<strong>CP</strong>TEST1 05ADD000 ORIGIN<br />

<strong>CP</strong>TEST1 06BCF000 MP<br />

<strong>CP</strong>TEST2 07BDF000 ORIGIN<br />

<strong>CP</strong>TEST3 03BCE000 ORIGIN<br />

Ready;<br />

This response shows the <strong>VM</strong>DBKs for each of the virtual processors specified. If<br />

more than one <strong>VM</strong>DBK is displayed for the same user ID, there are multiple virtual<br />

processors defined for that user ID’s virtual machine. One will be labeled ORIGIN;<br />

the rest will be labeled MP, short for multiple processor.<br />

Response 2:<br />

562 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 specify LOCATE without the <strong>VM</strong>DBK keyword, you may see this:<br />

►◄

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

Saved successfully!

Ooh no, something went wrong!