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

#### SLHREC

Prolog

Control Block Contents
SLHREC DSECT

Storage Layout

Cross Reference (Contains links to field and bit definitions)

#### SLHREC Prolog

     NAME       : SLHREC
     DESCRIPTION: SUBCHANNEL LOGOUT ERROR RECORD
     DSECT      : SLHREC
     FUNCTION   : CONTAINS SUBCHANNEL LOGOUT DATA FOR ERROR
                  RECORDING.
     LOCATED BY : GPR6 IN HCPIOE.  THE ADDRESS IS PASSED TO
                  HCPREC IN GPR1, AND HCPVER USES GPR9 TO
                  ADDRESS THIS BLOCK.
     CREATED BY : HCPRFC
     DELETED BY : HCPIOE AFTER HCPREC HAS COPIED IT INTO
                  A GSDBK.

#### SLHREC Control Block Content

#### SLHREC DSECT

    Hex   Dec Type/Val   Lng Label (dup)    Comments
    ---- ---- --------- ---- -------------- --------
    0000    0 Structure      SLHREC         SUBCHANNEL LOGOUT ERROR 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 SLHHTYPE       CLASS/SOURCE
              00000023       SLHHTYSR       35 SLH RECORD
    0001    1 Bitstring    1 SLHHSYS        SYSTEM/RELEASE LEVEL
              111. ....      HDRHSSYS       X'E0' SYSTEM MASK
              1... ....      HDRHSOS2       X'80' OS/VS2
              .11. ....      HDRHSVM        X'60' VM
              .1.. ....      HDRHSOS1       X'40' OS/VS1
              ..1. ....      HDRHSDOS       X'20' DOS
              ...1 1111      HDRHSLVL       X'1F' SYSTEM LEVEL MASK (INCLUDES
                                            VERSION AND RELEASE LEVEL)
              ...1 11..      HDRHSVRS       X'1C' VERSION NUMBER MASK
              .... ..11      HDRHSREL       X'03' RELEASE LEVEL MASK
    0002    2 Bitstring    1 SLHHSW0        RECORD INDEPENDENT SWITCHES
              1... ....      HDRHSWMR       X'80' MORE RECORDS FOLLOW
              .1.. ....      HDRHSWCI       X'40' TOD CLOCK INSTRUCTION
                                            ISSUED
              ..1. ....      HDRHSWRT       X'20' RECORD TRUNCATED
              ...1 ....      HDRHSWPK       X'10' 370/XA MODE
              .... 1...      HDRHSWTI       X'08' TIME MACRO ISSUED
              .... .1..      HDRHSWPS       X'04' ERROR WAS PASSED
                                            (REFLECTED) TO A GUEST
    0003    3 Bitstring    1 SLHHSW1        RESERVED REC DEPENDENT SWITCH 1
    0004    4 Bitstring    1 SLHHSW2        RESERVED REC DEPENDENT SWITCH 2
    0005    5 Bitstring    1 SLHHSW3        RESERVED REC DEPENDENT SWITCH 3
              .... ...1      SLHHARDF       X'01' HARD FAILURE - NOT
                                            RECOVERED - OPERATING SYSTEM MAY
                                            HAVE BEEN IMPACTED - A HARDWARE
                                            RESOURCE MAY HAVE BEEN LOST
              .... ..1.      SLHDGRAD       X'02' DEGRADATION - FAILURE
                                            RECOVERED - NO FUNCTIONAL IMPACT
                                            - PERFORMANCE MAY BE DEGRADED -
                                            HARDWARE RESOURCE MAY HAVE BEEN
                                            LOST
              .... ..11      SLHSOFTF       X'03' SOFT FAILURE - FAILURE
                                            RECOVERED - NO FUNCTIONAL IMPACT
                                            - PERFORMANCE NOT DEGRADED -
                                            HARDWARE RESOURCE(S) NOT LOST
    0006    6 Bitstring    1 SLHHCNT        RECORD COUNT
              1111 ....      HDRRCSEQ       X'F0' RECORD SEQUENCE NUMBER MASK
              .... 1111      HDRRCPHY       X'0F' TOTAL NUM. OF PHYSICAL
                                            RECORDS IN LOGICAL RECORD BIT
                                            MASK
    0007    7 Bitstring    1 *              RESERVED FOR FUTURE IBM USE
    0008    8 Dbl-Word     8 SLHHTOD        TOD OF SYSTEM FAILURE
    0010   16 Dbl-Word     8 SLHCPUID       CPU ID
    0018   24 Character    8 SLHJOBNM       JOBNAME OR USERID
    0020   32 Bitstring    8 SLHCCW         LAST EXECUTED CCW IF AVAILABLE
    0028   40 Signed       4 SLHDEVT        DEVICE TYPE
    002C   44 Bitstring    8 SLHERPIB       ERP INFORMATION BLOCK (MVS ONLY)
    0034   52 Bitstring   64 SLHIRB         IRB - INCLUDES SCSW & ESW
    0074  116 Signed       4 SLHUCBAD       UCB ADDRESS / RDEV ADDRESS
    0078  120 Bitstring    2 SLHDEVNO       DEVICE NUMBER
    007A  122 Character    6 SLHVOLSR       VOLUME SERIAL NUMBER
    0080  128 Bitstring    5 SLHUCBLV       UCB LEVEL BYTE AND MASK (MVS
                                            ONLY)
    0085  133 Bitstring    2 *              RESERVED FOR FUTURE IBM USE
    0087  135 Bitstring    1 SLHCHPID       CHANNEL PATH ID
    0088  136 Signed       4 SLHSID         SUBCHANNEL ID NUMBER
    008C  140 Signed       4 SLHRSMAD       ABSOLUTE ADDR OF STORAGE OR KEY
                                            ERRORS, IF AVAILABLE
    0090  144 Signed       2 SLHRSMRC       RSM RTN CODE FOR STORAGE OR KEY
                                            ERROR (MVS ONLY)
    0092  146 Bitstring    1 SLHRSME1       ERROR TYPE
    0093  147 Bitstring    1 SLHRSME2       ERROR TYPE
              .... ..1.      SLHRSMKE       X'02' KEY ERROR
              .... ...1      SLHRSMSE       X'01' STORAGE ERROR
    0094  148 Signed       4 SLHRSMST       RSM STATUS INFORMATION (MVS ONLY)
              00000098       SLHLEN         *-SLHREC LENGTH OF SLRREC
              00000013       SLHSIZE        (*-SLHREC+7)/8 SLHREC SIZE IN
                                            DOUBLE WORDS
    0008    8 Signed       4 SLHHDATE       SYSTEM DATE OF FAILURE
    000C   12 Signed       4 SLHHTIME       SYSTEM TIME OF FAILURE
    0010   16 Bitstring    1 SLHHCPID       MACHINE VERSION CODE
    0011   17 Bitstring    3 SLHHSER        CPU SERIAL NUMBER
    0014   20 Bitstring    2 SLHHMDL        CPU MACHINE MODEL NUMBER
    0016   22 Bitstring    2 SLHHMCEL       MAX LENGTH OF MACHINE-DEPENDENT
                                            MACHINE CHECK EXTENDED LOGOUT

#### SLHREC Storage Layout

    *** SLHREC - SUBCHANNEL LOGOUT ERROR RECORD
    *
    *     +------+------+------+------+------+------+------+------+
    *   0 |:HTYPE|:HSYS |:HSW0 |:HSW1 |:HSW2 |:HSW3 |:HCNT |//////|
    *     +------+------+------+------+------+------+------+------+
    *   8 |                       SLHHTOD                         |
    *     +-------------------------------------------------------+
    *  10 |                       SLHCPUID                        |
    *     +-------------------------------------------------------+
    *  18 |                       SLHJOBNM                        |
    *     +-------------------------------------------------------+
    *  20 |                        SLHCCW                         |
    *     +---------------------------+---------------------------+
    *  28 |         SLHDEVT           |        SLHERPIB-          |
    *     +---------------------------+---------------------------+
    *  30 |          -(02C)           |                           |
    *     +---------------------------+                           |
    *  38 |                                                       |
    *     =                        SLHIRB                         =
    *     |                           +---------------------------+
    *  70 |                           |         SLHUCBAD          |
    *     +-------------+-------------+---------------------------+
    *  78 |  SLHDEVNO   |                SLHVOLSR                 |
    *     +-------------+--------------------+-------------+------+
    *  80 |            SLHUCBLV              |/////////////|:CHPID|
    *     +---------------------------+------+-------------+------+
    *  88 |          SLHSID           |         SLHRSMAD          |
    *     +-------------+------+------+---------------------------+
    *  90 |  SLHRSMRC   |:RSME1|:RSME2|         SLHRSMST          |
    *     +-------------+------+------+---------------------------+
    *  98
    *
    *** SLHREC - SUBCHANNEL LOGOUT ERROR RECORD

    *** Overlay for SLHHTOD in SLHREC
    *
    *     +---------------------------+---------------------------+
    *   8 |         SLHHDATE          |         SLHHTIME          |
    *     +---------------------------+---------------------------+
    *  10
    *
    *** Overlay for SLHHTOD in SLHREC

    *** Overlay for SLHCPUID in SLHREC
    *
    *     +------+--------------------+-------------+-------------+
    *  10 |:HCPID|      SLHHSER       |  SLHHMDL    |  SLHHMCEL   |
    *     +------+--------------------+-------------+-------------+
    *  18
    *
    *** Overlay for SLHCPUID in SLHREC

#### SLHREC Cross Reference

    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
    SLHCCW         0020
    SLHCHPID       0087
    SLHCPUID       0010
    SLHDEVNO       0078
    SLHDEVT        0028
    SLHDGRAD       0005 02
    SLHERPIB       002C
    SLHHARDF       0005 01
    SLHHCNT        0006
    SLHHCPID       0010
    SLHHDATE       0008
    SLHHMCEL       0016
    SLHHMDL        0014
    SLHHSER        0011
    SLHHSW0        0002
    SLHHSW1        0003
    SLHHSW2        0004
    SLHHSW3        0005
    SLHHSYS        0001
    SLHHTIME       000C
    SLHHTOD        0008
    SLHHTYPE       0000
    SLHHTYSR       0000 00000023
    SLHIRB         0034
    SLHJOBNM       0018
    SLHLEN         0094 00000098
    SLHRSMAD       008C
    SLHRSME1       0092
    SLHRSME2       0093
    SLHRSMKE       0093 02
    SLHRSMRC       0090
    SLHRSMSE       0093 01
    SLHRSMST       0094
    SLHSID         0088
    SLHSIZE        0094 00000013
    SLHSOFTF       0005 03
    SLHUCBAD       0074
    SLHUCBLV       0080
    SLHVOLSR       007A

This information is based on z/VM V5R2.0. Last updated on 12 Apr 2006 at 17:43:04 EDT.
Copyright IBM Corporation, 1990, 2005