MDRREC Back to Index page
 
Prolog 
Control Block Contents 
   MDRREC DSECT
Storage Layout 
Cross Reference (Contains links to field and bit definitions)
Programming Interface Information:
This information is NOT intended to be
used as Programming Interfaces of z/VM.


  MDRREC Prolog Top of page
 
 NAME       : MDRREC
 DESCRIPTION: MISCELLANEOUS DATA RECORD
 DSECT      : MDRREC
 FUNCTION   : PROVIDES DATA NEEDED FOR ERROR RECORDING
 LOCATED BY : N/A
 CREATED BY : HCPIOE, HCPPEN, HCPDRN, OR A GUEST.  COPIED TO
              FREE STORAGE BY HCPVER.
 DELETED BY : HCPIOE AFTER HCPREC HAS COPIED IT INTO
              A GSDBK.
 RELOCATION CONSIDERATIONS : None
 
 
  MDRREC Control Block Content Top of page
 

 MDRREC DSECT Top of page
Hex Dec Type/Val Lng Label (dup) Comments ---- ---- --------- ---- -------------- -------- 0000 0 Structure MDRREC MISCELLANEOUS DATA 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 MDRRTYP RECORD TYPE 00000093 MDRRTCVT 147 MDRRTCVT CONVERTED MDR RECORD (NOT FOR VS) 00000091 MDRRTMDR 145 MDRRTMDR MDR RECORD 00000090 MDRRTSVC 144 MDRRTSVC MDR RECORD FORMATTED BY SVC 91 0001 1 Bitstring 1 MDROPSYS OPERATING SYSTEM 111. .... HDRHSSYS X'E0' HDRHSSYS SYSTEM MASK 1... .... HDRHSOS2 X'80' HDRHSOS2 OS/VS2 .11. .... HDRHSVM X'60' HDRHSVM VM .1.. .... HDRHSOS1 X'40' HDRHSOS1 OS/VS1 ..1. .... HDRHSDOS X'20' HDRHSDOS DOS ...1 1111 HDRHSLVL X'1F' HDRHSLVL SYSTEM LEVEL MASK (INCLUDES VERSION AND RELEASE LEVEL) ...1 11.. HDRHSVRS X'1C' HDRHSVRS VERSION NUMBER MASK .... ..11 HDRHSREL X'03' HDRHSREL RELEASE LEVEL MASK 0002 2 Bitstring 1 MDRSW1 SWITCH BYTE 1 1... .... HDRHSWMR X'80' HDRHSWMR MORE RECORDS FOLLOW .1.. .... HDRHSWCI X'40' HDRHSWCI TOD CLOCK INSTRUCTION ISSUED ..1. .... HDRHSWRT X'20' HDRHSWRT RECORD TRUNCATED ...1 .... HDRHSWPK X'10' HDRHSWPK 370/XA MODE .... 1... HDRHSWTI X'08' HDRHSWTI TIME MACRO ISSUED .... .1.. HDRHSWPS X'04' HDRHSWPS ERROR WAS PASSED (REFLECTED) TO A GUEST 0003 3 Bitstring 1 MDRSW2 SWITCH BYTE 2 *** ADDITIONAL CODES ARE DEFINED IN SDMMDR .1.. .... MDRINCOM X'40' MDRINCOM RECORD INCOMPLETE 0004 4 Bitstring 1 MDRSW3 SWITCH BYTE 3 .1.. .... MDR8809 X'40' MDR8809 IBM 8809 ..1. .... MDR3800S X'20' MDR3800S IBM 3800 MODEL 3 / 8 ...1 .1.1 MDR3705N X'15' MDR3705N IBM 3705 (NCP MODE) ...1 ..11 MDR3277N X'13' MDR3277N IBM 3277 (NCP MODE) ...1 ..1. MDR23051 X'12' MDR23051 IBM 2305 MOD I ...1 .... MDR32XX X'10' MDR32XX IBM 3203, 3262, 3289 .... 1111 MDRIGAR X'0F' MDRIGAR IBM IGAR DISKETTE .... 111. MDR3850 X'0E' MDR3850 IBM 3850 .... 11.1 MDR3895 X'0D' MDR3895 IBM 3895 .... 11.. MDR3800 X'0C' MDR3800 IBM 3800 MOD I .... 1.11 MDR3277 X'0B' MDR3277 IBM 3277 .... 1... MDR2715 X'08' MDR2715 IBM 2715 .... .111 MDR3168 X'07' MDR3168 IBM 3168 .... .11. MDR3670 X'06' MDR3670 IBM 3670 .... .1.1 MDR3705 X'05' MDR3705 IBM 3705 (NON NCP-MODE) .... .1.. MDR3211 X'04' MDR3211 IBM 3211 .... ..11 MDR32XXS X'03' MDR32XXS IBM 3277, 3286, 3284(NON NCP-MODE) 0005 5 Bitstring 1 MDRBUFC SWITCH BYTE 4 1... .... MDRSUBID X'80' MDRSUBID VARIABLE LENGTH SUB-ID FIELD USED 1... 11.. MDRBUFCL X'8C' MDRBUFCL CURRENT VALUE OF MDRBUFC .... 1111 MDRSBLNM X'0F' MDRSBLNM SUB-ID FIELD LENGTH MASK 0006 6 Bitstring 1 MDRRCNT RECORD COUNT 1111 .... HDRRCSEQ X'F0' HDRRCSEQ RECORD SEQUENCE NUMBER MASK .... 1111 HDRRCPHY X'0F' HDRRCPHY TOTAL NUM. OF PHYSICAL RECORDS IN LOGICAL RECORD BIT MASK 0007 7 Bitstring 1 MDRCHPID CHANNEL PATH ID 0008 8 Dbl-Word 8 MDRTOD TOD OF SYSTEM FAILURE 0010 16 Dbl-Word 8 MDRCPUID CPU ID 0018 24 Bitstring 2 MDRCUA1 PRIMARY CUA ADDRESS 0000001A MDRLEN *-MDRREC LENGTH OF FIXED LENGTH PORTION 001A 26 Bitstring 1 MDRVARBL (0) START OF VARIABLE LENGTH DATA 001A 26 Bitstring 1 MDR32COR CORRELATION COUNT 001B 27 Bitstring 1 MDR32TYP TYPE OF 3211/3203 RECORD 00000001 MDR32TP1 1 MDR32TP1 UNIVERSAL CHARACTER SET 00000002 MDR32TP2 2 MDR32TP2 FORMS CONTROL BUFFER 00000003 MDR32TP3 3 MDR32TP3 PRINT LINE 00000002 MDR32SBL *-MDRVARBL LENGTH OF SUB-ID FIELD 001C 28 Bitstring 256 MDR32UCS UNIVERSAL CHARACTER SET 011C 284 Bitstring 256 MDR32BUF BUFFER 0000021C MDR32LN1 *-MDRREC SIZE IN BYTES 00000044 MDR32SZ1 (*-MDRREC+7)/8 SIZE IN DOUBLE WORDS 001A 26 Bitstring 1 * CORRELATION COUNT 001B 27 Bitstring 1 * TYPE OF 3211/3203 RECORD 001C 28 Bitstring 240 MDR03UCS UNIVERSAL CHARACTER SET 010C 268 Bitstring 64 MDR03DUC DUALING & UNCOMPARABLE CHAR TABLE 0000014C MDR03LN1 *-MDRREC SIZE IN BYTES 0000002A MDR03SZ1 (*-MDRREC+7)/8 SIZE IN DOUBLE WORDS 001A 26 Bitstring 1 * CORRELATION COUNT 001B 27 Bitstring 1 * TYPE OF 3211/3203 RECORD 001C 28 Bitstring 180 MDR32FCB FORMS CONTROL BUFFER 000000D0 MDR32LN2 *-MDRREC SIZE IN BYTES 0000001A MDR32SZ2 (*-MDRREC+7)/8 SIZE IN DOUBLE WORDS 001A 26 Bitstring 1 * CORRELATION COUNT 001B 27 Bitstring 1 * TYPE OF 3211/3203 RECORD 001C 28 Bitstring 256 MDR03FCB FORMS CONTROL BUFFER 0000011C MDR03LN2 *-MDRREC SIZE IN BYTES 00000024 MDR03SZ2 (*-MDRREC+7)/8 SIZE IN DOUBLE WORDS 001A 26 Bitstring 1 * CORRELATION COUNT 001B 27 Bitstring 1 * TYPE OF 3211/3203 RECORD 001C 28 Bitstring 150 MDR32PRT PRINT LINE BUFFER 00B2 178 Bitstring 10 MDR32ERR FIRST 10 ERROR CHARACTERS 000000BC MDR32LN3 *-MDRREC SIZE IN BYTES 00000018 MDR32SZ3 (*-MDRREC+7)/8 SIZE IN DOUBLE WORDS 001A 26 Bitstring 2 * RESERVED FOR FUTURE IBM USE 00000002 MDR38SBL *-MDRVARBL LENGTH OF SUB-ID FIELD 001C 28 Bitstring 136 MDR38DAT 3800 MODEL 1 DATA 000000A4 MDR38LEN *-MDRREC SIZE IN BYTES 00000015 MDR38SIZ (*-MDRREC+7)/8 SIZE IN DOUBLE WORDS 001A 26 Bitstring 2 * RESERVED FOR FUTURE IBM USE 00000002 MDR38SB3 *-MDRVARBL LENGTH OF SUB-ID FIELD 001C 28 Bitstring 264 MDR38DA3 3800 MODEL 3 DATA 00000124 MDR38LE3 *-MDRREC SIZE IN BYTES 00000025 MDR38SI3 (*-MDRREC+7)/8 SIZE IN DOUBLE WORDS 0008 8 Signed 4 MDRHDATE SYSTEM DATE OF FAILURE 000C 12 Signed 4 MDRHTIME SYSTEM TIME OF FAILURE 0010 16 Bitstring 1 MDRHCPID MACHINE VERSION CODE 0011 17 Bitstring 3 MDRHSER CPU SERIAL NUMBER 0014 20 Bitstring 2 MDRHMDL CPU MACHINE MODEL NUMBER 0016 22 Bitstring 2 MDRHMCEL MAX LENGTH OF MACHINE-DEPENDENT MACHINE CHECK EXTENDED LOGOUT
 
 
  MDRREC Storage Layout Top of page
 
          
*** MDRREC - MISCELLANEOUS DATA RECORD
*
*     +------+------+------+------+------+------+------+------+
*   0 |:RTYP |:OPSYS|MDRSW1|MDRSW2|MDRSW3|:BUFC |:RCNT |:CHPID|
*     +------+------+------+------+------+------+------+------+
*   8 |                        MDRTOD                         |
*     +-------------------------------------------------------+
*  10 |                       MDRCPUID                        |
*     +-------------+-----------------------------------------+
*  18 |  MDRCUA1    |
*     +-------------+
*
*** MDRREC - MISCELLANEOUS DATA RECORD
          
*** Overlay for MDRVARBL in MDRREC
*
*                   +------+------+---------------------------+
*  18 ...        1A |:32COR|:32TYP|                           |
*     +-------------+------+------+                           |
*  20 |                                                       |
*     =                       MDR32UCS                        =
*     |                           +---------------------------+
*     |                           |                           |
*     +---------------------------+                           |
* 120 |                                                       |
*     =                       MDR32BUF                        =
*     |                           +---------------------------+
*     |                           | 21C
*     +---------------------------+
*
*** Overlay for MDRVARBL in MDRREC
          
*** Overlay for MDRVARBL in MDRREC
*
*                   +------+------+---------------------------+
*  18 ...        1A |//////|//////|                           |
*     +-------------+------+------+                           |
*  20 |                                                       |
*     =                       MDR03UCS                        =
*     |                           +---------------------------+
*     |                           |                           |
*     +---------------------------+                           |
* 110 |                                                       |
*     =                       MDR03DUC                        =
*     |                           +---------------------------+
*     |                           | 14C
*     +---------------------------+
*
*** Overlay for MDRVARBL in MDRREC
          
*** Overlay for MDRVARBL in MDRREC
*
*                   +------+------+---------------------------+
*  18 ...        1A |//////|//////|                           |
*     +-------------+------+------+                           |
*  20 |                                                       |
*     =                       MDR32FCB                        =
*     |                                                       |
*     +-------------------------------------------------------+
*  D0
*
*** Overlay for MDRVARBL in MDRREC
          
*** Overlay for MDRVARBL in MDRREC
*
*                   +------+------+---------------------------+
*  18 ...        1A |//////|//////|                           |
*     +-------------+------+------+                           |
*  20 |                                                       |
*     =                       MDR03FCB                        =
*     |                           +---------------------------+
*     |                           | 11C
*     +---------------------------+
*
*** Overlay for MDRVARBL in MDRREC
          
*** Overlay for MDRVARBL in MDRREC
*
*                   +------+------+---------------------------+
*  18 ...        1A |//////|//////|                           |
*     +-------------+------+------+                           |
*  20 |                                                       |
*     =                       MDR32PRT                        =
*     |             +-----------------------------------------+
*  B0 |             |                MDR32ERR                 |
*     +-------------+             +---------------------------+
*     |                           | BC
*     +---------------------------+
*
*** Overlay for MDRVARBL in MDRREC
          
*** Overlay for MDRVARBL in MDRREC
*
*                   +-------------+---------------------------+
*  18 ...        1A |/////////////|                           |
*     +-------------+-------------+                           |
*  20 |                                                       |
*     =                       MDR38DAT                        =
*     |                           +---------------------------+
*     |                           | A4
*     +---------------------------+
*
*** Overlay for MDRVARBL in MDRREC
          
*** Overlay for MDRVARBL in MDRREC
*
*                   +-------------+---------------------------+
*  18 ...        1A |/////////////|                           |
*     +-------------+-------------+                           |
*  20 |                                                       |
*     =                       MDR38DA3                        =
*     |                           +---------------------------+
*     |                           | 124
*     +---------------------------+
*
*** Overlay for MDRVARBL in MDRREC
          
*** Overlay for MDRTOD in MDRREC
*
*     +---------------------------+---------------------------+
*   8 |         MDRHDATE          |         MDRHTIME          |
*     +---------------------------+---------------------------+
*  10
*
*** Overlay for MDRTOD in MDRREC
          
*** Overlay for MDRCPUID in MDRREC
*
*     +------+--------------------+-------------+-------------+
*  10 |:HCPID|      MDRHSER       |  MDRHMDL    |  MDRHMCEL   |
*     +------+--------------------+-------------+-------------+
*  18
*
*** Overlay for MDRCPUID in MDRREC
 
 
  MDRREC Cross Reference Top of page
 
 
Symbol         Dspl Value
-------------- ---- -----
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
MDRBUFC        0005
MDRBUFCL       0005 8C
MDRCHPID       0007
MDRCPUID       0010
MDRCUA1        0018
MDRHCPID       0010
MDRHDATE       0008
MDRHMCEL       0016
MDRHMDL        0014
MDRHSER        0011
MDRHTIME       000C
MDRIGAR        0004 0F
MDRINCOM       0003 40
MDRLEN         0018 0000001A
MDROPSYS       0001
MDRRCNT        0006
MDRRTCVT       0000 00000093
MDRRTMDR       0000 00000091
MDRRTSVC       0000 00000090
MDRRTYP        0000
MDRSBLNM       0005 0F
MDRSUBID       0005 80
MDRSW1         0002
MDRSW2         0003
MDRSW3         0004
MDRTOD         0008
MDRVARBL       001A
MDR03DUC       010C
MDR03FCB       001C
MDR03LN1       010C 0000014C
MDR03LN2       001C 0000011C
MDR03SZ1       010C 0000002A
MDR03SZ2       001C 00000024
MDR03UCS       001C
MDR23051       0004 12
MDR2715        0004 08
MDR3168        0004 07
MDR32BUF       011C
MDR32COR       001A
MDR32ERR       00B2
MDR32FCB       001C
MDR32LN1       011C 0000021C
MDR32LN2       001C 000000D0
MDR32LN3       00B2 000000BC
MDR32PRT       001C
MDR32SBL       001B 00000002
MDR32SZ1       011C 00000044
MDR32SZ2       001C 0000001A
MDR32SZ3       00B2 00000018
MDR32TP1       001B 00000001
MDR32TP2       001B 00000002
MDR32TP3       001B 00000003
MDR32TYP       001B
MDR32UCS       001C
MDR32XX        0004 10
MDR32XXS       0004 03
MDR3211        0004 04
MDR3277        0004 0B
MDR3277N       0004 13
MDR3670        0004 06
MDR3705        0004 05
MDR3705N       0004 15
MDR38DAT       001C
MDR38DA3       001C
MDR38LEN       001C 000000A4
MDR38LE3       001C 00000124
MDR38SBL       001A 00000002
MDR38SB3       001A 00000002
MDR38SIZ       001C 00000015
MDR38SI3       001C 00000025
MDR3800        0004 0C
MDR3800S       0004 20
MDR3850        0004 0E
MDR3895        0004 0D
MDR8809        0004 40
 
This information is based on z/VM 7.3.0 Last updated on 22 Jun 2022 at 15:59:07 EDT.
Copyright IBM Corporation, 1990, 2022