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

#### CCHREC

Prolog

Control Block Contents
CCHREC DSECT

Storage Layout

Cross Reference (Contains links to field and bit definitions)

#### CCHREC Prolog

     NAME       : CCHREC
     DESCRIPTION: VM/XA MAPPING OF THE S/370 CHANNEL
                  CHECK RECORD
     DSECT      : CCHREC
     FUNCTION   : MAPS OUT THE S/370 CHANNEL CHECK RECORD
                  FOR CP ERROR RECORDING MODULES.
     LOCATED BY : N/A.
     CREATED BY : S/370 or MVS GUEST.
     DELETED BY : HCPIOE AFTER HCPREC HAS COPIED IT INTO
                  A GSDBK.
     COMMENTS   : VM/XA NEED ONLY TO BE ABLE TO REFERENCE THE
                  AR BIT IN THIS RECORD FOR RECORDING PURPOSES.
                  THUS, THE MAPPING WILL INCLUDE ONLY THOSE
                  FIELDS NECESSARY.

#### CCHREC Control Block Content

#### CCHREC DSECT

    Hex   Dec Type/Val   Lng Label (dup)    Comments
    ---- ---- --------- ---- -------------- --------
    0000    0 Structure      CCHREC         VM/XA MAPPING OF THE S/370 CHANNEL
    0000    0 Bitstring    1 * (40)         Not needed
    0028   40 Bitstring    1 CCHECF         Channel program error check flags
              .1.. ....      CSWKEYCK       X'40' CSWKEYCK INVALID CBC ON
                                            STORAGE KEY
              ..1. ....      CSWMBPCK       X'20' CSWMBPCK ADDRESSING
                                            EXCEPTION ON MBI
              ...1 ....      CSWMBDCK       X'10' CSWMBDCK INVALID CBC ON
                                            MEASURE BLOCK
              .... 1...      CSWMBACK       X'08' CSWMBACK ACCESS EXCEPTION
                                            OF MEASURE BLK
              .... .1..      CSWCCWCK       X'04' CSWCCWCK INVALID CBC ON CCW
                                            FIELDS
              .... ..1.      CSWIDACK       X'02' CSWIDACK INVALID CBC ON
                                            IDAL FIELDS
              .... ...1      CSWSALCK       X'01' CSWSALCK INVALID ADDRESS
                                            LIMIT SET
    0029   41 Bitstring    1 CCHSOURC       Source of error
    002A   42 Bitstring    1 CCHFVF         Field validity bits
              1... ....      CSWFVFAR       X'80' CSWFVFAR Ancillary report
                                            bit in the ESW
              .1.. ....      CSWFVFLP       X'40' CSWFVFLP LAST-PATH-USED IS
                                            VALID
              ..1. ....      CSWFVFTC       X'20' CSWFVFTC TERMINATION CODE
                                            IS VALID
              ...1 ....      CSWFVFSC       X'10' CSWFVFSC SEQUENCE CODE IS
                                            VALID
              .... 1...      CSWFVFDS       X'08' CSWFVFDS DEVICE STATUS IS
                                            VALID
              .... .1..      CSWFVFCA       X'04' CSWFVFCA CCW ADDRESS IS
                                            VALID
              .... ..11      CSWSACOD       X'03' CSWSACOD STORAGE ACCESS
                                            CODE:
              .... ....      CSWSAUNK       X'00' CSWSAUNK 00 - UNKNOWN TYPE
              .... ...1      CSWSARD        X'01' CSWSARD 01 - READ
              .... ..1.      CSWSAWRT       X'02' CSWSAWRT 02 - WRITE
              .... ..11      CSWSARDB       X'03' CSWSARDB 03 - READ
                                            BACKWARDS
              .... ..1.      CSWFVFCN       X'02' CSWFVFCN S/370-ONLY:
                                            CHANNEL # VALID
              .... ...1      CSWFVFDN       X'01' CSWFVFDN S/370-ONLY: DEVICE
                                            # VALID
              ...1 11..      CSWFVFCM       CSWFVFSC+CSWFVFDS+CSWFVFCA
                                            CSWFVFCM common fields
    002B   43 Bitstring    1 CCHTMSEQ       Termination, Alert and Sequence
                                            codes
              11.. ....      CSWTMCOD       X'C0' CSWTMCOD TERMINATION CODE :
              .... ....      CSWTMCID       X'00' CSWTMCID 00 - INTERFACE
                                            DISCONNECT
              .1.. ....      CSWTMCST       X'40' CSWTMCST 01 - STOP, STACK,
                                            NORMAL TERM
              1... ....      CSWTMCSR       X'80' CSWTMCSR 10 - SELECTIVE
                                            RESET
              11.. ....      CSWTMXXX       X'C0' CSWTMXXX 11 - RESERVED
              ..1. ....      CSWLCLAR       X'20' CSWLCLAR Ancillary report
                                            bit in the limited channel logout
                                            area
              ...1 ....      CSWSECER       X'10' CSWSECER SECONDARY ERROR
              .... 1...      CSWEALRT       X'08' CSWEALRT LOGOUT IS FROM I/O
                                            ERROR ALERT
              .... .111      CSWSQCOD       X'07' CSWSQCOD SEQUENCE CODE :
              .... ....      CSWSQXXX       X'00' CSWSQXXX 000 - RESERVED
              .... ...1      CSWSQCOA       X'01' CSWSQCOA 001 - COMMAND-OUT
                                            & ADDRESS-IN
              .... ..1.      CSWSQCAC       X'02' CSWSQCAC 010 - COMMAND
                                            ACCEPTED
              .... ..11      CSWSQDTR       X'03' CSWSQDTR 011 - DATA
                                            TRANSFERRED
              .... .1..      CSWSQCNA       X'04' CSWSQCNA 100 - COMMAND NOT
                                            ACCEPTED
              .... .1.1      CSWSQCAQ       X'05' CSWSQCAQ 101 - COMMAND
                                            ACCEPTED BUT DATA TRANSFER
                                            UNKNOWN
              .... .11.      CSWSQYYY       X'06' CSWSQYYY 110 - RESERVED
              .... .111      CSWSQZZZ       X'07' CSWSQZZZ 111 - RESERVED
              0000002C       CCHLEN         *-CCHREC LENGTH OF CCHREC
              00000006       CCHSIZE        (*-CCHREC+7)/8 CCHREC SIZE IN
                                            DOUBLE WORDS

#### CCHREC Storage Layout

    *** CCHREC - VM/XA MAPPING OF THE S/370 CHANNEL
    *
    *     +-------------------------------------------------------+
    *   0 |///////////////////////////////////////////////////////|
    *     =///////////////////////////////////////////////////////=
    *     |///////////////////////////////////////////////////////|
    *     +------+------+------+------+---------------------------+
    *  28 |CCHECF|:SOURC|CCHFVF|:TMSEQ| 2C
    *     +------+------+------+------+
    *
    *** CCHREC - VM/XA MAPPING OF THE S/370 CHANNEL

#### CCHREC Cross Reference

    Symbol         Dspl Value
    -------------- ---- -----
    CCHECF         0028
    CCHFVF         002A
    CCHLEN         002B 0000002C
    CCHSIZE        002B 00000006
    CCHSOURC       0029
    CCHTMSEQ       002B
    CSWCCWCK       0028 04
    CSWEALRT       002B 08
    CSWFVFAR       002A 80
    CSWFVFCA       002A 04
    CSWFVFCM       002A 1C
    CSWFVFCN       002A 02
    CSWFVFDN       002A 01
    CSWFVFDS       002A 08
    CSWFVFLP       002A 40
    CSWFVFSC       002A 10
    CSWFVFTC       002A 20
    CSWIDACK       0028 02
    CSWKEYCK       0028 40
    CSWLCLAR       002B 20
    CSWMBACK       0028 08
    CSWMBDCK       0028 10
    CSWMBPCK       0028 20
    CSWSACOD       002A 03
    CSWSALCK       0028 01
    CSWSARD        002A 01
    CSWSARDB       002A 03
    CSWSAUNK       002A 00
    CSWSAWRT       002A 02
    CSWSECER       002B 10
    CSWSQCAC       002B 02
    CSWSQCAQ       002B 05
    CSWSQCNA       002B 04
    CSWSQCOA       002B 01
    CSWSQCOD       002B 07
    CSWSQDTR       002B 03
    CSWSQXXX       002B 00
    CSWSQYYY       002B 06
    CSWSQZZZ       002B 07
    CSWTMCID       002B 00
    CSWTMCOD       002B C0
    CSWTMCSR       002B 80
    CSWTMCST       002B 40
    CSWTMXXX       002B C0

This information is based on z/VM V6R1.0. Last updated on 18 Feb 2010 at 08:20:36 EDT.
Copyright IBM Corporation, 1990, 2008