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

#### HDRREC

Prolog

Control Block Contents
HDRREC DSECT

Storage Layout

Cross Reference (Contains links to field and bit definitions)

#### HDRREC Prolog

     NAME       : HDRREC
     DESCRIPTION: COMMON HEADER FOR ERROR RECORDS
     DSECT      : HDRREC
     FUNCTION   : PROVIDE THE COMMON FORMAT FOR THE HEADER
                  PORTION (FIRST 24 BYTES) OF ALL ERROR
                  RECORDS.
     LOCATED BY : ANY FIELD WHICH LOCATES ONE OF THE OTHER
                  ERROR RECORDS.  THE DEFINITIONS IN HDRREC
                  MAY BE USED IN CONJUNCTION WITH OR IN PLACE
                  OF THE HEADER OF ANY OTHER ERROR RECORD.
     CREATED BY : ANY MODULE WHICH CREATES ANY OTHER ERROR
                  RECORD (AS THE FIRST 24 BYTES OF THAT
                  ERROR RECORD).
     DELETED BY : THE FIELDS DEFINED HERE ARE DELETED WITH
                  WHATEVER ERROR RECORD THEY ARE CONTAINED IN.

#### HDRREC Control Block Content

#### HDRREC DSECT

    Hex   Dec Type/Val   Lng Label (dup)    Comments
    ---- ---- --------- ---- -------------- --------
    0000    0 Structure      HDRREC         COMMON HEADER FOR ERROR RECORDS
           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 HDRHTYPE       CLASS/SOURCE
              000000FF       HDRSVMR        255 Special VM Record
              000000B0       HDRCCF         176 CHANNEL CHECK FRAME RECORD -
              000000A3       HDRALT         163 ALERT RECORD
              000000A2       HDRSEL         162 SERIAL LINK RECORD
              000000A0       HDRMCF         160 MACHINE CHECK FRAME RECORD -
              00000093       HDRMDRCV       147 CONVERTED MDR RECORD (NOT FOR
                                            VS)
              00000091       HDRMDR         145 MDR RECORD
              00000090       HDRMDRSV       144 MDR RECORD FORMATTED BY SVC
                                            91 -
              00000084       HDRIOS         132 EOP FROM IOS
              00000082       HDRTIME        130 TIME STAMP RECORD
              00000081       HDRMCHFR       129 MCH FORCED TERMINATION
              00000080       HDREOD         128 EOD RECORD -
              00000071       HDRMIT         113 MIT RECORD
              00000070       HDRMIR         112 MIR RECORD -
              00000060       HDRDDR         96 DDR RECORD -
              00000050       HDRIPL         80 IPL RECORD -
              0000004F       HDRLSTR        79 LOST RECORD SUMMARY
              00000048       HDRHDHD        72 HARDWARE DETECTED HARDWARE ERR
                                            REC
              00000044       HDROSFT        68 OPERATOR DETECTED SOFTWARE ERR
                                            REC
              00000042       HDRHSFT        66 HARDWARE DETECTED SOFTWARE ERR
                                            REC
              00000040       HDRSFT         64 SOFTWARE DETECTED SOFTWARE ERR
                                            REC -
              0000003A       HDROBRDP       58 OBR DYNAMIC PATHING AVAILABLE
              00000036       HDROBRVT       54 OBR TP ACCESS METHOD (VTAM)
                                            RECORD
              00000034       HDROBRTC       52 OBR TP ACCESS METHOD
                                            (TCAM(OS)/ BTAM(DOS)) RECORD
              00000032       HDROBRCV       50 CONVERTED OBR RECORD (NOT FOR
                                            VS)
              00000030       HDROBR         48 OBR (UNIT CHECK) RECORD -
              0000002F       HDRMCHIO       47 BOUNDARY BETWEEN MACHINE CHECK
                                            TYPES OF RECORDS AND I/O TYPES OF
                                            RECORDS -- HERE AND BELOW ARE
                                            MACHINE CHECKS; ABOVE ARE I/O -
              00000029       HDRCCHS2       41 CCH SER 0 RECORD
              00000028       HDRCCHS1       40 CCH SER 1 RECORD
              00000025       HDRCRD         37 CRD RECORD
              00000023       HDRSLH         35 SLH RECORD
              00000021       HDRCCMVS       33 CHANNEL CHK REC IN MVS
                                            ENVIRONMENT
              00000020       HDRCCH         32 CHANNEL CHECK RECORD -
              0000001B       HDRMCHC0       27 CONVERTED MCH SER0 REC(NOT FOR
                                            VS)
              0000001A       HDRMCHC1       26 CONVERTED MCH SER1 REC(NOT FOR
                                            VS)
              00000019       HDRMCHS0       25 MCH SER0 RECORD (NOT FOR VS)
              00000018       HDRMCHS1       24 MCH SER1 RECORD (NOT FOR VS)
              00000013       HDRMCHVS       19 MCH REC RECORDED IN MULTIPLE
                                            VIRTUAL STORAGE ENVIRONMENT
              00000012       HDRMCHCV       18 CONVERTED MCH REC (NOT FOR VS)
              00000010       HDRMCH         16 MCH RECORD
    0001    1 Bitstring    1 HDRHSYS        SYSTEM/RELEASE LEVEL
              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 HDRHSW0        RECORD INDEPENDENT SWITCH 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 HDRHSW1        RECORD SWITCH 1
    0004    4 Bitstring    1 HDRHSW2        RECORD SWITCH 2
    0005    5 Bitstring    1 HDRHSW3        RECORD SWITCH 3
    0006    6 Bitstring    1 HDRHCNT        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 HDRHTOD        TOD OF SYSTEM FAILURE
    0010   16 Dbl-Word     8 HDRCPUID       CPU ID
              00000018       HDRLEN         *-HDRREC LENGTH OF HDRREC
    0018   24 Character    8 HDRJOBN        JOB NAME/USERID (NOT USED IN
                                            CRDREC, MDRREC, OR OBRREC)
              00000020       HDRXLEN        *-HDRREC LENGTH OF EXTENDED
                                            HDRREC
              00000004       HDRSIZE        (*-HDRREC+7)/8 HDRREC SIZE IN
                                            DOUBLE WORDS
    0008    8 Signed       4 HDRHDATE       SYSTEM DATE OF FAILURE
    000C   12 Signed       4 HDRHTIME       SYSTEM TIME OF FAILURE
    0010   16 Bitstring    1 HDRHCPID       MACHINE VERSION CODE
    0011   17 Bitstring    3 HDRHSER        CPU SERIAL NUMBER
    0014   20 Bitstring    2 HDRHMDL        CPU MACHINE MODEL NUMBER
    0016   22 Bitstring    2 HDRHMCEL       MAX LENGTH OF MACHINE-DEPENDENT
                                            MACHINE CHECK EXTENDED LOGOUT

#### HDRREC Storage Layout

    *** HDRREC - COMMON HEADER FOR ERROR RECORDS
    *
    *     +------+------+------+------+------+------+------+------+
    *   0 |:HTYPE|:HSYS |:HSW0 |:HSW1 |:HSW2 |:HSW3 |:HCNT |//////|
    *     +------+------+------+------+------+------+------+------+
    *   8 |                       HDRHTOD                         |
    *     +-------------------------------------------------------+
    *  10 |                       HDRCPUID                        |
    *     +-------------------------------------------------------+
    *  18 |                       HDRJOBN                         |
    *     +-------------------------------------------------------+
    *  20
    *
    *** HDRREC - COMMON HEADER FOR ERROR RECORDS

    *** Overlay for HDRHTOD in HDRREC
    *
    *     +---------------------------+---------------------------+
    *   8 |         HDRHDATE          |         HDRHTIME          |
    *     +---------------------------+---------------------------+
    *  10
    *
    *** Overlay for HDRHTOD in HDRREC

    *** Overlay for HDRCPUID in HDRREC
    *
    *     +------+--------------------+-------------+-------------+
    *  10 |:HCPID|      HDRHSER       |  HDRHMDL    |  HDRHMCEL   |
    *     +------+--------------------+-------------+-------------+
    *  18
    *
    *** Overlay for HDRCPUID in HDRREC

#### HDRREC Cross Reference

    Symbol         Dspl Value
    -------------- ---- -----
    HDRALT         0000 000000A3
    HDRCCF         0000 000000B0
    HDRCCH         0000 00000020
    HDRCCHS1       0000 00000028
    HDRCCHS2       0000 00000029
    HDRCCMVS       0000 00000021
    HDRCPUID       0010
    HDRCRD         0000 00000025
    HDRDDR         0000 00000060
    HDREOD         0000 00000080
    HDRHCNT        0006
    HDRHCPID       0010
    HDRHDATE       0008
    HDRHDHD        0000 00000048
    HDRHMCEL       0016
    HDRHMDL        0014
    HDRHSDOS       0001 20
    HDRHSER        0011
    HDRHSFT        0000 00000042
    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
    HDRHSW0        0002
    HDRHSW1        0003
    HDRHSW2        0004
    HDRHSW3        0005
    HDRHSYS        0001
    HDRHTIME       000C
    HDRHTOD        0008
    HDRHTYPE       0000
    HDRIOS         0000 00000084
    HDRIPL         0000 00000050
    HDRJOBN        0018
    HDRLEN         0010 00000018
    HDRLSTR        0000 0000004F
    HDRMCF         0000 000000A0
    HDRMCH         0000 00000010
    HDRMCHCV       0000 00000012
    HDRMCHC0       0000 0000001B
    HDRMCHC1       0000 0000001A
    HDRMCHFR       0000 00000081
    HDRMCHIO       0000 0000002F
    HDRMCHS0       0000 00000019
    HDRMCHS1       0000 00000018
    HDRMCHVS       0000 00000013
    HDRMDR         0000 00000091
    HDRMDRCV       0000 00000093
    HDRMDRSV       0000 00000090
    HDRMIR         0000 00000070
    HDRMIT         0000 00000071
    HDROBR         0000 00000030
    HDROBRCV       0000 00000032
    HDROBRDP       0000 0000003A
    HDROBRTC       0000 00000034
    HDROBRVT       0000 00000036
    HDROSFT        0000 00000044
    HDRRCPHY       0006 0F
    HDRRCSEQ       0006 F0
    HDRSEL         0000 000000A2
    HDRSFT         0000 00000040
    HDRSIZE        0018 00000004
    HDRSLH         0000 00000023
    HDRSVMR        0000 000000FF
    HDRTIME        0000 00000082
    HDRXLEN        0018 00000020

This information is based on z/VM V5R2.0. Last updated on 12 Apr 2006 at 17:43:05 EDT.
Copyright IBM Corporation, 1990, 2005