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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

DISPLAY Guest Storage (z/Architecture)<br />

storage without needing to know whether the program is currently in access<br />

register mode. This is done automatically for you by <strong>CP</strong>.<br />

5. If the BASEnn <strong>and</strong> INDEXnn oper<strong>and</strong>s are used together, the specified starting<br />

address for display is used as a displacement from the address formed from<br />

the sum of the contents of the two specified registers.<br />

The values in the registers specified by the BASEnn <strong>and</strong> INDEXnn oper<strong>and</strong>s<br />

are treated as 24-bit, 31-bit, or 64-bit real addresses according to the<br />

addressing mode bits (EA <strong>and</strong> BA - bits 31 <strong>and</strong> 32) in the virtual machine’s<br />

PSW. The addressing mode is determined as follows:<br />

Bit 31 Bit 32 Addressing Mode<br />

0 0 24-bit<br />

0 1 31-bit<br />

1 1 64-bit<br />

6. During DISPLAY comm<strong>and</strong> processing, the authorization mechanisms used<br />

during normal address translation are not used.<br />

7. Special authorization is required to use the SPACE or ASIT oper<strong>and</strong> of this<br />

comm<strong>and</strong> to view any address space other the host-primary address space of<br />

the virtual <strong>CP</strong>U. In order to use this comm<strong>and</strong> to display storage in an address<br />

space, one of the following conditions must be satisfied:<br />

v Your virtual machine must be the owner of the address space. Your virtual<br />

machine is the owner of its host-primary address space <strong>and</strong> of any address<br />

space that it creates using the CREATE function of the ADRSPACE macro.<br />

v If the address space is owned by another virtual machine, your virtual<br />

machine must have read-only or read-write authorization to the address<br />

space. The owner of the address space can grant authorization to your<br />

virtual machine using the PERMIT function of the ADRSPACE macro.<br />

Authorization is granted on a space-by-space basis, so that you may be<br />

authorized to view one address space of a virtual machine, but not to view a<br />

different space.<br />

8. The oper<strong>and</strong>s V <strong>and</strong> W used in displaying third-level storage from guest<br />

primary <strong>and</strong> secondary are supported for compatibility. The PRI <strong>and</strong> SECO<br />

oper<strong>and</strong>s replace the V <strong>and</strong> W oper<strong>and</strong>s.<br />

9. When multiple DISPLAY requests are entered on a single line, the BASEnn<br />

<strong>and</strong> INDEXnn oper<strong>and</strong>s are not applied to subsequent DISPLAY requests on<br />

the comm<strong>and</strong> line. They must be explicitly entered for each DISPLAY request.<br />

10. When the ASIT or SPACE oper<strong>and</strong> is specified, the DISPLAY request will fail if<br />

the specified address space does not exist, or if you are not authorized to<br />

access the address space. The current request is rejected <strong>and</strong> processing of<br />

the comm<strong>and</strong> line is terminated. The rejected oper<strong>and</strong>s are displayed along<br />

with a message indicating the nature of the error.<br />

11. The DISPLAY comm<strong>and</strong> requires an address-space-control element (ASCE) to<br />

display third-level storage (storage that appears virtual to your virtual machine).<br />

It may receive the ASCE as an oper<strong>and</strong>, find it in a control register, or use the<br />

access-register translation (ART) process or the address space number (ASN)<br />

translation process to obtain the ASCE. The access-register translation <strong>and</strong><br />

ASN translation processes may fail because of one of several program<br />

exception conditions. If the translation does not succeed, the current request is<br />

rejected, <strong>and</strong> processing of the comm<strong>and</strong> line is terminated. The rejected<br />

oper<strong>and</strong>s are displayed along with a response indicating the nature of the<br />

exception condition.<br />

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

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

Saved successfully!

Ooh no, something went wrong!