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.

The <strong>CP</strong> MSG comm<strong>and</strong> is actually an alias for the <strong>CP</strong> MESSAGE comm<strong>and</strong>. <strong>CP</strong><br />

displays different information for an alias than it does for a comm<strong>and</strong>. For example,<br />

to find the comm<strong>and</strong> table entry block addresses for the <strong>CP</strong> MSG comm<strong>and</strong> alias,<br />

enter the following:<br />

locate cmdbk msg<br />

Comm<strong>and</strong> CMDBK Alias <strong>IBM</strong>CLASS Privilege<br />

MSG 00344A50 00344858 – –<br />

MSG 00344A98 003448A0 – –<br />

MSG 00344AE0 003448E8 – –<br />

Ready;<br />

Response 3:<br />

The <strong>CP</strong> MESSAGE <strong>and</strong> MSG comm<strong>and</strong>s also share the same minimum<br />

abbreviation, M. This means you can display information about both comm<strong>and</strong>s by<br />

specifying their common minimum abbreviation:<br />

locate cmdbk m<br />

Comm<strong>and</strong> CMDBK Alias <strong>IBM</strong>CLASS Privilege<br />

MESSAGE 00344858 * A A<br />

MESSAGE 003448A0 * B B<br />

MESSAGE 003448E8 * 0 <br />

MSG 00344A50 00344858 – –<br />

MSG 00344A98 003448A0 – –<br />

MSG 00344AE0 003448E8 – –<br />

Response 4:<br />

To find the comm<strong>and</strong> table entry block addresses for all <strong>CP</strong> comm<strong>and</strong>s whose<br />

name begins with the letter M, enter the following:<br />

locate cmdbk m*<br />

Comm<strong>and</strong> CMDBK Alias <strong>IBM</strong>CLASS Privilege<br />

MESSAGE 00344858 * A A<br />

MESSAGE 003448A0 * B B<br />

MESSAGE 003448E8 * 0 <br />

MIGRATE 00344930 * A A<br />

MONITOR 00344978 * A M<br />

MONITOR 003449C0 * E S<br />

MSGNOH 00344A08 * B KRZ<br />

MSG 00344A50 00344858 – –<br />

MSG 00344A98 003448A0 – –<br />

MSG 00344AE0 003448E8 – –<br />

Ready;<br />

In this example, note that the classes for the MONITOR <strong>and</strong> MSGNOH comm<strong>and</strong>s<br />

were changed by this installation through user class restructure (UCR).<br />

Response 5:<br />

To find the comm<strong>and</strong> table entry block addresses for the SET PRIVCLASS<br />

subcomm<strong>and</strong>, enter the following:<br />

locate cmdbk set subcmd privclass<br />

Subcomm<strong>and</strong> CMDBK Alias <strong>IBM</strong>CLASS Privilege<br />

PRIVCLASS 003B00C0 * C C<br />

PRIVCLASS 003B0108 * 0 <br />

Ready;<br />

Response 6:<br />

LOCATE CMDBK<br />

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

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

Saved successfully!

Ooh no, something went wrong!