Channel report word (CRW) record

CRW records are recorded on the logrec data set for all software- and hardware-generated channel report words. Software-generated CRWs are created by IOS modules to invoke channel path recovery. Hardware-generated CRWs are created by the channel to provide information describing a machine malfunction affecting a specific, or a collection of, channel subsystem facilities.

Table 1. Format of the CRW Record
Offset Size (bytes) alignment (bits) Field name Description
Dec Hex
0 (0) 1 CRWKEY1 Class/Source:
    ..1. .1.1   CRW record; type=X'25'.
1 (1) 1 CRWKEY2 System/Release level:
    100. ....   OS/VS2.
    ...x xxxx   Release level 0-31.
2 (2) 1 CRWSMS Record-independent switches:
    1... ...   More records follow.
    0... ....   Last record.
    .1.. ....   Time-of-day (TOD) clock instruction issued.
    ..1. ....   Record truncated.
    ...1 ....   Record created by MVS/SP Version 2, 3, or 4.
    .... 1...   TIME macro issued.
    .... .xxx   Reserved.
3 (3) 3   Record-dependent switches:
    Byte 0 CRWBYTE1 Reserved.
    Byte 1 CRWBYTE2 Reserved.
    Byte 2 CRWBYTE3 Reserved.
6 (6) 1 CRWRCDCT Record count:
    xxxx .... CRWRCSEQ Record sequence number.
    .... xxxx CRWFZREC Total number of physical records in this logical record.
7 (7) 1   Reserved.
8 (8) 4 CRWDATE System date of incident.
12 (C) 4 CRWTIME System time of incident.
16 (10) 1 CRWVER Machine version code.
17 (11) 3 CRWSER Central processor serial number.
20 (14) 2 CRWMOD Central processor machine model number.
22 (16) 2 CRWCEL Reserved.
        END OF STANDARD HEADER
24 (18) 8 CRWMODUL CSECT name of module doing recording.
32 (20) 1 CRWRECCD CRW recording code: Identifies the format of the variable portion of the record.
33 (21) 1 CRWFLAG1 Flag byte 1.
    1... .... CRWHARD Hardware-stored CRW.
    .1.. .... CRWSOFT Software-created CRW.
    ..xx xxx.   Reserved.
    .... ...1 CRWINVAL Incorrect CRW recording.
34 (22) 1 CRWFLAG2 Flag byte 2.
35 (23) 1 CRWCODE CRW origin code.
    0000 0000   CRW origin unknown.
    0000 0001   CRW pending machine check.
    0000 0010   System damage machine check.
    0000 0011   Alternate central processor recovery (ACR).
    0000 0100   Reserved.
    0000 0101   Reserved.
    0000 0110   Hot I/O recover channel path.
    0000 0111   Hot I/O remove channel path.
    0000 1000   Vary channel path - forced.
    0000 1001   Reset Event Occurred - recover channel path
    0000 1010   Link Level Error Occurred
    X‘0B’-X‘FF’   Reserved.
36 (24) 2 CRWCP Processor address CRW retrieved on.
38 (26) 2   Reserved.
40 (28) 4 CRWCRW Channel report word (CRW).
44 (2C) 2 CRWDEV Binary device number.
46 (2E) 2   Reserved.
48 (30) 4 CRWSEQNO CRW sequence number.
52 (34) 4 CRWASEQN Associated CRW sequence number.
56 (38) 2 CRWDEVST UCB device status flags, or zero if UCB not available.
58 (3A) 2 CRWPMCW Path management control word, or zero if UCB not available.
60 (3C) 1 CRWCHPCT Channel path recovery count, or zero if UCB not available.
61 (3D) 2   Reserved.
63 (3F) 1 CRWLEVEL UCB level value, or zero if UCB not available.
64 (40) 4 CRWLVMSK UCB level bit mask, or zero if UCB not available.
68 (44) 4 CRWSCHRC UCB subchannel recovery anchor, or zero if UCB not available.
72 (48) 1   Reserved.
73 (49) 1 CRWICHPT ICHPT flags associated with the CRW channel path ID.
74 (4A) 8 CRWISDT Copy of the IOS interrupt subclass definition table.