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.

QUERY PRIVCLASS<br />

►►<br />

Query<br />

Authorization<br />

Purpose<br />

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

Usage Notes<br />

Responses<br />

Messages<br />

PRIVclass<br />

Privilege Class: Any<br />

Use QUERY PRIVCLASS to display the current <strong>and</strong> directory-specified privilege<br />

classes available to your user ID or another user ID on the system.<br />

* tells <strong>CP</strong> to display the privilege classes of the comm<strong>and</strong> issuer. * is the default.<br />

userid<br />

is the user ID whose privilege classes should be displayed. To query another<br />

user ID’s privilege classes, the issuer must have class C or E privileges.<br />

1. When you log on, <strong>CP</strong> sets your user ID’s privilege classes to the privilege<br />

classes granted to you in your user directory entry.<br />

2. If a privileged DIRMAINT user updates your directory entry by adding additional<br />

privilege classes while you are logged on, you can put those new privilege<br />

classes into effect by issuing the SET PRIVCLASS * RESET comm<strong>and</strong>.<br />

For more information, see “SET PRIVCLASS” on page 1322.<br />

Response 1:<br />

If you enter a QUERY PRIVCLASS comm<strong>and</strong>, you will see something like this:<br />

Privilege classes for user MINNIE<br />

Currently: BCEG<br />

Directory: ABCDEFG<br />

The privilege classes are not locked against changes.<br />

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

extra option(s) starting with oper<strong>and</strong><br />

H<strong>CP</strong>007E Invalid userid - userid<br />

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

H<strong>CP</strong>052E Error in <strong>CP</strong> directory<br />

*<br />

userid<br />

H<strong>CP</strong>053E userid not in <strong>CP</strong> directory<br />

QUERY PRIVCLASS<br />

►◄<br />

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

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

Saved successfully!

Ooh no, something went wrong!