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.

STORE PSW<br />

►►<br />

STore<br />

Authorization<br />

Purpose<br />

Psw<br />

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

Usage Notes<br />

Responses<br />

hexword1<br />

Privilege Class: G<br />

Use STORE PSW to alter the program status word (PSW).<br />

PSW<br />

hexword2<br />

For an ESA/390 or ESA/XC guest:<br />

alters all or part of the PSW with the data you specify in hexword1 <strong>and</strong><br />

hexword2. If you specify only hexword2, it is stored in the second word of your<br />

virtual machine’s current PSW. If you specify both hexword1 <strong>and</strong> hexword2,<br />

hexword1 is stored in the first word of your virtual machine’s current PSW, <strong>and</strong><br />

hexword2 is stored into the address portion of the PSW.<br />

For a z/Architecture guest:<br />

This is allowed only if a SET PSWTRANS ALL/STORE comm<strong>and</strong> has<br />

previously been issued for the virtual machine. If the appropriate SET<br />

PSWTRANS comm<strong>and</strong> has been issued, the hexwords are converted from an<br />

ESA/390-format PSW into a z/Architecture-format PSW as indicated below:<br />

If only hexword2 is specified, the z/Architecture PSW is stored as follows:<br />

v bit 32 = hexword2 bit 0<br />

v bits 33-96 = 0<br />

v bits 97-127 = hexword2 bits 1-31<br />

v rest of bits remain unchanged<br />

If you specify hexword1 hexword2, the z/Architecture PSW is stored as follows:<br />

v bits 0-31 = hexword1 (bit 12 is set to 0)<br />

v bit 32 = 1 if hexword1 bit 31 is 1 otherwise, this bit will be set to hexword2 bit<br />

0<br />

v bits 33-96 = 0<br />

v bits 97-127 = hexword2 bits 1-31<br />

hexword...<br />

identifies the data you want to store in the PSW. If the data is less than eight<br />

digits (four bytes), it is right-adjusted <strong>and</strong> padded with leading zeros.<br />

1. To specify a 128-bit PSW, use the STORE PSWG comm<strong>and</strong>.<br />

Response 1:<br />

Store complete<br />

STORE PSW<br />

►◄<br />

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

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

Saved successfully!

Ooh no, something went wrong!