Codes for Control Units, OBRs, and MDRs

The control unit codes, outboard record (OBR) codes, and miscellaneous data record (MDR) codes are gathered in tables to help you cross-reference devices to the codes that represent them in EREP records.

This topic covers the following subjects:

TOPIC
Control Unit Type Codes
OBR Codes
MDR Codes

The following table contains an example of the four-byte field in the long OBR that contains the device type associated with an error.

Offset Dec(Hex) Size(bytes) Alignment(bits) Field Name Description
52(34) 4   Device type for the device associated with the error.
  Byte 0    
  1... ....   Byte 1 contains a control unit ID.
  .xxx xxxx   Reserved.
  Byte 1   Control unit ID if byte 0(bit 0)=1. Otherwise system dependent data unused by EREP.
  Byte 2   Device class code.
  Byte 3   Device type code.
       

The four-byte field contains data gathered from different sources for different operating systems.

Some of the other types of error records contain a four byte-field at the same or a different offset.

MDRs have a one-byte field at an offset of four to hold the device code. Refer to the system product error recording manual for your operating system to find the error record layouts that show the size and offset of the device codes.