Locating Logical Dump Records
The first logical dump record contains a dump file information record
(DMPINREC). The second and third logical dump records each contain a dump
file key storage record, DMPKYRECI and DMPKYREC2 respectively. The dump
file key storage records contain the value of the storage keys assigned to each page
of virtual storage. The remaining logical dump records contain the virtual machine
storage dump. CP records the storage dump sequentially starting with the lowest address dumped
and ending with the highest address dumped. CP records each byte as an untransĀ­
lated 8-bit binary value.
For a description of the format and contents of DMPINREC, see VM / SP Data
Areas and Control Block Logic, Volume 1. For a description of DMPKYRECI and
DMPKYREC2, see DMPKYREC also in VM / SP Data Areas and Control Block
Logic, Volume 1.
To locate a specific logical dump record, use the algorithm:
loc = 240+16n+4096n 4096 where: Q is a number that identifies the dump record. For example, to locate the first
dump record, assign Q a value of 1; to locate the second record, assign Q a value of
2, and so forth.
loc is the quotient and remainder of the algorithm. Together these values specify a
spool file record and an offset into that record where logical dump record Q begins.
The quotient specifies the spool file record, and the remainder specifies the offset
into the spool file record.
The following example shows how to locate the third logical dump record:
loc 240+(16x3)+(4096x3)
loc = 12576 4096 quotient = 3 4096 remainder = 288
Thus, the third dump record starts 288 bytes into the third spool file record.
Introductiort to Debugging 523
header
first spool 1
0
SPUNK 1
16
file record TAG
second spool file record third spool file record
fourth spool
file record
fifth logical
dump record 0 16
bytes
header SPLINK 16
bytes
header 0 SPLINK 16
bytes
header 0 SPLINK 16
bytes
header 0 SPLINK 16
bytes
Figure 70. VMDUMP Record Format
524 VM/SP System Programmer's Guide 240 bytes
first logical
dump record
(continued)
16 DMPINREC (continued)
256
bytes
second logical
dump record
(continued)
16 DMPKYREC1 (continued)
272
bytes
third logical
dump record
(continued)
16 DMPKYREC2 (continued)
288
bytes
fourth logical
dump record
(continued)
16
virtual
storage 304 bytes
machine
dump 1
256
272
288 304 320 first logical
dump record 4095 DMPINREC 3840 bytes
second logical
dump record DMPKYRECI 3824
bytes 4095 third logical
dump record 4095 DMPKYREC2 3808 bytes
fourth logical
dump record 4095 virtual machine
storage dump
3792
bytes
fifth logical
dump record
virtual
storage
3776
bytes 4095 machine
dump
Previous Page Next Page