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

►►<br />

Query<br />

Authorization<br />

Purpose<br />

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

Usage Notes<br />

Responses<br />

Messages<br />

BYUSER<br />

Privilege Class: Any<br />

Use the QUERY BYUSER comm<strong>and</strong> to display the BYUSER ID of a specified user.<br />

* displays the BYUSER ID of the user issuing the comm<strong>and</strong>.<br />

userid<br />

displays the BYUSER ID of the virtual machine specified. To query another user<br />

ID’s BYUSER, the issuer must have class E privileges.<br />

1. A BYUSER ID is only defined for a virtual machine that is logged on with the BY<br />

option of the LOGON comm<strong>and</strong>.<br />

2. When a virtual machine is disconnected, its BYUSER ID remains unchanged.<br />

3. A virtual machine’s BYUSER ID is updated on a successful reconnect.<br />

Response 1:<br />

The BYUSER for userid is byuserid<br />

is returned when there is a BYUSER ID for the virtual machine specified in the<br />

query.<br />

Response 2:<br />

There is currently no BYUSER for userid<br />

is returned when there is no BYUSER ID for the virtual machine specified in the<br />

query.<br />

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

contains extra option(s) starting with<br />

option}<br />

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

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

*<br />

userid<br />

QUERY BYUSER<br />

►◄<br />

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

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

Saved successfully!

Ooh no, something went wrong!