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' INVALID CBC ON STORAGE KEY
              ..1. ....      CSWMBPCK       X'20' ADDRESSING EXCEPTION ON MBI
              ...1 ....      CSWMBDCK       X'10' INVALID CBC ON MEASURE
                                            BLOCK
              .... 1...      CSWMBACK       X'08' ACCESS EXCEPTION OF MEASURE
                                            BLK
              .... .1..      CSWCCWCK       X'04' INVALID CBC ON CCW FIELDS
              .... ..1.      CSWIDACK       X'02' INVALID CBC ON IDAL FIELDS
              .... ...1      CSWSALCK       X'01' INVALID ADDRESS LIMIT SET
    0029   41 Bitstring    1 CCHSOURC       Source of error
    002A   42 Bitstring    1 CCHFVF         Field validity bits
              1... ....      CSWFVFAR       X'80' Ancillary report bit in the
                                            ESW
              .1.. ....      CSWFVFLP       X'40' LAST-PATH-USED IS VALID
              ..1. ....      CSWFVFTC       X'20' TERMINATION CODE IS VALID
              ...1 ....      CSWFVFSC       X'10' SEQUENCE CODE IS VALID
              .... 1...      CSWFVFDS       X'08' DEVICE STATUS IS VALID
              .... .1..      CSWFVFCA       X'04' CCW ADDRESS IS VALID
              .... ..11      CSWSACOD       X'03' STORAGE ACCESS CODE:
              .... ....      CSWSAUNK       X'00' 00 - UNKNOWN TYPE
              .... ...1      CSWSARD        X'01' 01 - READ
              .... ..1.      CSWSAWRT       X'02' 02 - WRITE
              .... ..11      CSWSARDB       X'03' 03 - READ BACKWARDS
              .... ..1.      CSWFVFCN       X'02' S/370-ONLY: CHANNEL # VALID
              .... ...1      CSWFVFDN       X'01' S/370-ONLY: DEVICE # VALID
              ...1 11..      CSWFVFCM       CSWFVFSC+CSWFVFDS+CSWFVFCA common
                                            fields
    002B   43 Bitstring    1 CCHTMSEQ       Termination, Alert and Sequence
                                            codes
              11.. ....      CSWTMCOD       X'C0' TERMINATION CODE :
              .... ....      CSWTMCID       X'00' 00 - INTERFACE DISCONNECT
              .1.. ....      CSWTMCST       X'40' 01 - STOP, STACK, NORMAL
                                            TERM
              1... ....      CSWTMCSR       X'80' 10 - SELECTIVE RESET
              11.. ....      CSWTMXXX       X'C0' 11 - RESERVED
              ..1. ....      CSWLCLAR       X'20' Ancillary report bit in the
                                            limited channel logout area
              ...1 ....      CSWSECER       X'10' SECONDARY ERROR
              .... 1...      CSWEALRT       X'08' LOGOUT IS FROM I/O ERROR
                                            ALERT
              .... .111      CSWSQCOD       X'07' SEQUENCE CODE :
              .... ....      CSWSQXXX       X'00' 000 - RESERVED
              .... ...1      CSWSQCOA       X'01' 001 - COMMAND-OUT &
                                            ADDRESS-IN
              .... ..1.      CSWSQCAC       X'02' 010 - COMMAND ACCEPTED
              .... ..11      CSWSQDTR       X'03' 011 - DATA TRANSFERRED
              .... .1..      CSWSQCNA       X'04' 100 - COMMAND NOT ACCEPTED
              .... .1.1      CSWSQCAQ       X'05' 101 - COMMAND ACCEPTED BUT
                                            DATA TRANSFER UNKNOWN
              .... .11.      CSWSQYYY       X'06' 110 - RESERVED
              .... .111      CSWSQZZZ       X'07' 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 V5R2.0. Last updated on 12 Apr 2006 at 16:37:14 EDT.
Copyright IBM Corporation, 1990, 2005