Programming Interface Information: This information is NOT intended to be used as Programming Interfaces of z/VM.

#### DDRREC

Prolog

Control Block Contents
DDRREC DSECT

Storage Layout

Cross Reference (Contains links to field and bit definitions)

#### DDRREC Prolog

     NAME       : DDRREC
     DESCRIPTION: DYNAMIC RECONFIGURATION RECORD
     DSECT      : DDRREC
     FUNCTION   : DDRREC IS USED IN SVC 76 INITIATED ERROR
                  RECORDING PROCESS FOR TYPE 60 DASD DUMP
                  RESTORE (DDR) DYNAMIC DEVICE REALLOCATION
                  RECORDS.  THE REALLOCATION RECORDS CONTAIN
                  THE REPLACEMENT OF THE VIRTUAL "FROM" AND
                  "TO" CONTROL UNIT ADDRESSES (CUA) BY THE
                  REAL ADDRESSES OF THE REAL DASD DEVICES.
     LOCATED BY : GPR9 IN HCPVER.  THE ADDRESS IS PASSED TO
                  HCPIOE AND HCPREC IN GPR1.
     CREATED BY : GUEST; COPIED TO FREE STORAGE BY HCPVER.
     DELETED BY : HCPIOE AFTER HCPREC HAS COPIED IT INTO
                  A GSDBK.

#### DDRREC Control Block Content

#### DDRREC DSECT

    Hex   Dec Type/Val   Lng Label (dup)    Comments
    ---- ---- --------- ---- -------------- --------
    0000    0 Structure      DDRREC         DYNAMIC RECONFIGURATION RECORD
         THIS CONTROL BLOCK IS AN INTER-OPERATING-SYSTEM BLOCK WHICH IS DEFINED
         BY IBM CORPORATE STANDARDS. THEREFORE VM/XA DOES NOT CONTROL THE
         DEFINITIONS NOR DOES IT NECESSARILY USE ALL THE FIELDS DEFINED OR ALL
         THE BITS DEFINED WITHIN A FIELD.
    0000    0 Bitstring    1 DDRRTYP        RECORD TYPE
              00000060       DDRRDDR        96 DDR RECORD
    0001    1 Bitstring    1 DDROPSYS       OPERATING SYSTEM
              111. ....      HDRHSSYS       X'E0' SYSTEM MASK
              1... ....      HDRHSOS2       X'80' OS/VS2
              .11. ....      HDRHSVM        X'60' VM
              .1.. ....      HDRHSOS1       X'40' OS/VS1
              ..1. ....      HDRHSDOS       X'20' DOS
              ...1 1111      HDRHSLVL       X'1F' SYSTEM LEVEL MASK (INCLUDES
                                            VERSION AND RELEASE LEVEL)
              ...1 11..      HDRHSVRS       X'1C' VERSION NUMBER MASK
              .... ..11      HDRHSREL       X'03' RELEASE LEVEL MASK
    0002    2 Bitstring    1 DDRSW0         SWITCH BYTE 0
              1... ....      HDRHSWMR       X'80' MORE RECORDS FOLLOW
              .1.. ....      HDRHSWCI       X'40' TOD CLOCK INSTRUCTION
                                            ISSUED
              ..1. ....      HDRHSWRT       X'20' RECORD TRUNCATED
              ...1 ....      HDRHSWPK       X'10' 370/XA MODE
              .... 1...      HDRHSWTI       X'08' TIME MACRO ISSUED
              .... .1..      HDRHSWPS       X'04' ERROR WAS PASSED
                                            (REFLECTED) TO A GUEST
    0003    3 Bitstring    1 DDRSW1         SWITCH BYTE 1
              1... ....      DDRSWPSR       X'80' PRIMARY STORAGE
                                            RECONFIGURATION
              .1.. ....      DDRSWSSR       X'40' SECONDARY STORAGE
                                            RECONFIGURATION
              ..1. ....      DDRSWORR       X'20' OPERATOR REQUESTED
                                            RECONFIGURATION
              ...1 ....      DDRSWPER       X'10' PERMANENT ERROR CAUSED
                                            RECONFIGURATION
    0004    4 Bitstring    1 *              RESERVED FOR FUTURE IBM USE
    0005    5 Bitstring    1 *              RESERVED FOR FUTURE IBM USE
    0006    6 Bitstring    1 DDRRCNT        RECORD COUNT
              1111 ....      HDRRCSEQ       X'F0' RECORD SEQUENCE NUMBER MASK
              .... 1111      HDRRCPHY       X'0F' TOTAL NUM. OF PHYSICAL
                                            RECORDS IN LOGICAL RECORD BIT
                                            MASK
    0007    7 Bitstring    1 *              RESERVED FOR FUTURE IBM USE
    0008    8 Dbl-Word     8 DDRTOD         TOD OF SYSTEM FAILURE
    0010   16 Dbl-Word     8 DDRCPUID       CPU ID
    0018   24 Character    8 DDRJOB         USERID USING 'FROM' DEVICE
    0020   32 Character    6 DDRVOL1        VOLUME SERIAL 'FROM' DEVICE
    0026   38 Character    6 DDRVOL2        VOLUME SERIAL 'TO' DEVICE
    002C   44 Bitstring    1 DDRDEV1        PHYS. DEVICE ID OF 'FROM' DEVICE
    002D   45 Bitstring    3 DDRCUA1        DEVICE NUMBER OF 'FROM' DEVICE
    0030   48 Signed       4 DDRTYP1        DEVICE TYPE OF 'FROM' DEVICE
    0034   52 Bitstring    1 DDRDEV2        PHYS. DEVICE ID OF 'TO' DEVICE
    0035   53 Bitstring    3 DDRCUA2        DEVICE NUMBER CUA OF 'TO' DEVICE
    0038   56 Signed       4 DDRTYP2        DEVICE TYPE OF 'TO' DEVICE
              0000003C       DDRBLEN        *-DDRREC SIZE IN BYTES
              00000008       DDRSIZE        (*-DDRREC+7)/8 SIZE IN DOUBLE
                                            WORDS
    0008    8 Signed       4 DDRDATE        DATE OF SYSTEM FAILURE
    000C   12 Signed       4 DDRTIME        TIME OF SYSTEM FAILURE
    0010   16 Bitstring    1 DDRVERNO       MACHINE VERSION CODE
    0011   17 Bitstring    3 DDRCSER        CPU SERIAL NUMBER
    0014   20 Bitstring    2 DDRCMDL        CPU MACHINE MODEL NUMBER
    0016   22 Bitstring    2 DDRMCEL        MAX LENGTH OF MACHINE-DEPENDENT
                                            MACHINE CHECK EXTENDED LOGOUT
                                            AREA

#### DDRREC Storage Layout

    *** DDRREC - DYNAMIC RECONFIGURATION RECORD
    *
    *     +------+------+------+------+------+------+------+------+
    *   0 |:RTYP |:OPSYS|DDRSW0|DDRSW1|//////|//////|:RCNT |//////|
    *     +------+------+------+------+------+------+------+------+
    *   8 |                        DDRTOD                         |
    *     +-------------------------------------------------------+
    *  10 |                       DDRCPUID                        |
    *     +-------------------------------------------------------+
    *  18 |                        DDRJOB                         |
    *     +-----------------------------------------+-------------+
    *  20 |                DDRVOL1                  |   (026)-    |
    *     +---------------------------+------+------+-------------+
    *  28 |         -DDRVOL2          |:DEV1 |      DDRCUA1       |
    *     +---------------------------+------+--------------------+
    *  30 |         DDRTYP1           |:DEV2 |      DDRCUA2       |
    *     +---------------------------+------+--------------------+
    *  38 |         DDRTYP2           | 3C
    *     +---------------------------+
    *
    *** DDRREC - DYNAMIC RECONFIGURATION RECORD

    *** Overlay for DDRTOD in DDRREC
    *
    *     +---------------------------+---------------------------+
    *   8 |         DDRDATE           |         DDRTIME           |
    *     +---------------------------+---------------------------+
    *  10
    *
    *** Overlay for DDRTOD in DDRREC

    *** Overlay for DDRCPUID in DDRREC
    *
    *     +------+--------------------+-------------+-------------+
    *  10 |:VERNO|      DDRCSER       |  DDRCMDL    |  DDRMCEL    |
    *     +------+--------------------+-------------+-------------+
    *  18
    *
    *** Overlay for DDRCPUID in DDRREC

#### DDRREC Cross Reference

    Symbol         Dspl Value
    -------------- ---- -----
    DDRBLEN        0038 0000003C
    DDRCMDL        0014
    DDRCPUID       0010
    DDRCSER        0011
    DDRCUA1        002D
    DDRCUA2        0035
    DDRDATE        0008
    DDRDEV1        002C
    DDRDEV2        0034
    DDRJOB         0018
    DDRMCEL        0016
    DDROPSYS       0001
    DDRRCNT        0006
    DDRRDDR        0000 00000060
    DDRRTYP        0000
    DDRSIZE        0038 00000008
    DDRSWORR       0003 20
    DDRSWPER       0003 10
    DDRSWPSR       0003 80
    DDRSWSSR       0003 40
    DDRSW0         0002
    DDRSW1         0003
    DDRTIME        000C
    DDRTOD         0008
    DDRTYP1        0030
    DDRTYP2        0038
    DDRVERNO       0010
    DDRVOL1        0020
    DDRVOL2        0026
    HDRHSDOS       0001 20
    HDRHSLVL       0001 1F
    HDRHSOS1       0001 40
    HDRHSOS2       0001 80
    HDRHSREL       0001 03
    HDRHSSYS       0001 E0
    HDRHSVM        0001 60
    HDRHSVRS       0001 1C
    HDRHSWCI       0002 40
    HDRHSWMR       0002 80
    HDRHSWPK       0002 10
    HDRHSWPS       0002 04
    HDRHSWRT       0002 20
    HDRHSWTI       0002 08
    HDRRCPHY       0006 0F
    HDRRCSEQ       0006 F0

This information is based on z/VM V4R3.0. Last updated on 30 Apr 2002 at 15:32:02 EDT.
Copyright IBM Corporation, 1990, 2002