header information to identify the owner of the dump; it also maintains
dump information, writes the dump to a spool file, and formats the dump. When you enter at the terminal vmdump i50-200 -- or --
vmdump 400:500 rp 1umps the contents of virtual machine storaqe at the hexadecimal
addresses between 150 and 200 or between 400 and 500, respectively.
If vou enter
vmdump 150.50 CP dumps the contents of virtual storage starting at hexadecimal address 150 for a total of X'50' bytes.
ALTERING VIRTUAL STORAGE You can the contents of your first level virtual storage, general
registers, floating-point reqisters, control registers (if available),
and the PSW with the STORE command. Virtual storaqe can be altered in either fullword or byte units. When usinq fullword units, the address of the first positions to be
stored must have either an L or no prefix: store 1024 46a2 or store 11024 46a2
results in 000046A2 beinq stored in locations 1024 store 1024 46 a2
on the other hand, implies storing 2 fullwords and results in the
storinq of 00000046000000A2 in locations 1024 throuqh 102B. If the starting location is not a multiple of a fullword, it is rounded down to the next lower fullword boundary. Each can be from one to eight hexadecimal characters in
length. If less than 8 characters are specified, they are right
;ustified in the fullword unit and padded to the left with zeros. You can store in byte units by prefixing the start address with an S. store s1026 d1d6c5
stores D1D6C5 in locations 1026, 1027, and 1028. Note that the data storage is byte aligned. If an odd number of hexadecimal characters is
soecified, co. does not store the last character, you receive an error
message, CP terminates the function. For example, if you specify:
store s1026 dld6c
Section 3. CP Command Usage 31
CP stores dl at X'1026', and d6 at X'1027'; when CP attempts to store c
at X'1028', it recognizes an incomplete hexadecimal character, and does
not store the last character.
General and control registers are loaded in fullword units. For
example,
store g4 123456
loads general register 4 with 00123456. store g4 12 34 56
loads general registers 4, 5, and 6 with 00000012, 00000034, and 00000056, respectively. Yoa can store data into one or multiple consecutive registers. Floating-point reqisters are loaded in doubleword units. Each
doubleword ooerand can be from 1 to 16 hexadecimal characters in length.
If less than 16 characters are specified, they are left justified in the doubleworj anit and padded to the right with zeros. For example:
store y2 00123456789 loads register 2 with the value 0012345678900000. Yoa can ase the STATUS operand of the STORE command to simulate the
hardware store status facility. Selected virtual machine data is stored
in permanently assigned areas in low storage. Your virtual machine must
be in extended control mode for the command:
store status
to be acceptea. To place your virtual machine in extended control mode,
issae the command:
set ecmode on
Be aware that this command resets your virtual machine and you must
reload (IPL) your operating system.
The data stored by the STORE STATUS command is summarized in the
following table:
virtaal Address No. of De:: Hex. bytes Data
------- ------- ------ ------------
216 08 8 Processor Timer
224 EO 8 Clock Comparator
256 100 8 Current PSW 352 160 32 Floating-Point Registers (0, 2, 4, and 3814 180 64 General Registers (0- 15)
448 1CQ 64 Control Registers (0-15) If the operating system that is running in your virtual machine
operates in the basic control mode, these areas of low storage may be
ased for other purposes. You should not use this facility under these
conditions.
32 VM/370 CP Command Reference for General Users
Previous Page Next Page