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

QUERY COMMANDS<br />

►►<br />

Query<br />

Authorization<br />

Purpose<br />

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

COMM<strong>and</strong>s<br />

Usage Notes<br />

Responses<br />

▼ comm<strong>and</strong><br />

Privilege Class: Any<br />

Use QUERY COMMANDS to display the comm<strong>and</strong>s <strong>and</strong> DIAGNOSE codes you are<br />

authorized to use.<br />

comm<strong>and</strong><br />

are the names of specific comm<strong>and</strong>s that you are trying to find out if you have<br />

authorization to use.<br />

1. The same function is available through the COMMANDS comm<strong>and</strong>.<br />

2. Some comm<strong>and</strong>s have more than one version, but the user may not be<br />

authorized to use all the versions of a particular comm<strong>and</strong>. If the system rejects<br />

a comm<strong>and</strong> that is listed in the response, it is probably because the user is not<br />

authorized to use the version that includes the oper<strong>and</strong> or oper<strong>and</strong>s that were<br />

entered.<br />

3. For an indication of which versions of a comm<strong>and</strong> you are authorized to enter,<br />

use QUERY COMMANDS cmd..., where cmd is the name of the comm<strong>and</strong> or<br />

comm<strong>and</strong>s you are interested in. You are shown the default <strong>IBM</strong> privilege<br />

classes of the comm<strong>and</strong> that you are authorized to enter.<br />

You may specify any number of comm<strong>and</strong>s on the QUERY COMMANDS cmd...<br />

comm<strong>and</strong>. If a comm<strong>and</strong> name is entered twice, it is displayed twice in the<br />

response. No checking is made for duplicate entries.<br />

4. Diagnose codes cannot be queried separately from comm<strong>and</strong>s.<br />

5. <strong>IBM</strong>CLASS=ANY will output if:<br />

v the comm<strong>and</strong> is allowed before logon <strong>and</strong> not disabled, or<br />

v the user privilege class is ANY, meaning the comm<strong>and</strong> version is not<br />

associated with any particular privilege class <strong>and</strong> the comm<strong>and</strong> is enabled.<br />

Response 1:<br />

712 z/<strong>VM</strong>: <strong>CP</strong> <strong>Comm<strong>and</strong>s</strong> <strong>and</strong> <strong>Utilities</strong> <strong>Reference</strong><br />

comm1 comm2 comm3 comm4 comm5 comm6<br />

comm7<br />

.<br />

...<br />

diag1 diag2 diag3 diag4 diag5 diag6<br />

diag7 ...<br />

indicates the comm<strong>and</strong>s <strong>and</strong> DIAGNOSE codes that the user is authorized to enter.<br />

►◄

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

Saved successfully!

Ooh no, something went wrong!