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

#### SRBBK

Prolog

Control Block Contents
SRBBK DSECT

Storage Layout

Cross Reference (Contains links to field and bit definitions)

#### SRBBK Prolog

     NAME       : HCPSRBBK
     DESCRIPTION: Symptom Record Building Parameter List
     DSECT      : SRBBK
     FUNCTION   : Overlays the parameter interface list
                  used between the dump modules and the
                  symptom record building modules.
     LOCATED BY : n/a
     CREATED BY : HCPWRK
                  HCPVDU
                  HCPVDC
                  HCPABF
     DELETED BY : HCPWRK
                  HCPVDU
                  HCPVDC
                  HCPABF
     NOTES      : All modules get dynamic storage for this block except
                  HCPDMP.  HCPDMP will use part of HCPWRK for this
                  block.  Any CHANGES to this control block block
                  requires a recompile of HCPWRK.

#### SRBBK Control Block Content

#### SRBBK DSECT

    Hex   Dec Type/Val   Lng Label (dup)    Comments
    ---- ---- --------- ---- -------------- --------
    0000    0 Structure      SRBBK          Symptom Record Building Parameter
                                            List
    0000    0 Signed       4 SRBWORKP       Address of work page/always
                                            initialized
    0004    4 Signed       4 SRBPFXPT       Address of soft abend prefix page
    0008    8 Signed       4 SRBSTDBK       Address of the system termination
                                            block used by soft and hard abend
    000C   12 Signed       2 SRBSEC21       Save guest section 2 of symptom
                                            record
    000E   14 Character    8 SRBDMPTY       Dump type / VMDUMP CPDUMP HCPDUMP
                                            or SNAPDUMP
    0016   22 Bitstring    1 SRBFLAG        Flag = 0 says fetch guest storage
                                            Flag = 1 says store into guest
                                            storage
            Work area for use in HCPSRB and HCPSRP.
            They are all set to zero when HCPSRB is invoked..
            These temporary work areas are used for unpacking
            and translation of data in HCPSRB and HCPSRP.
    0017   23 Character    5 SRBTEMP5       Temporary Work Area
    001C   28 Character    9 SRBTEMP9       Temporary Work Area
    0025   37 Character    5 SRBTMP5A       Temporary Work Area
    002A   42 Character    3 SRBCHR3        Temporary Work Area
    002D   45 Character    7 *              Reserved for IBM Use
             Variables used in HCPSRB and HCPSRP
    0034   52 Signed       4 SRBPSW         Failing PSW
    0038   56 Signed       4 SRBRTRNC       Return Code
    003C   60 Signed       4 SRBPFXPP       Prefix Page Pointer
    0040   64 Signed       4 SRBADSRP       ADSR Pointer
    0044   68 Signed       4 SRBGSDBP       GSDBK Pointer
    0048   72 Signed       4 SRBNXTPP       Pointer to next primary symptom
                                            string
    004C   76 Signed       4 SRB5BKP        Section 5 address
    0050   80 Signed       4 SRBCHKL        Length of section currently
                                            verifying
    0054   84 Signed       4 SRBSRCP        Section 3 or 4 addr
    0058   88 Signed       4 SRBVALDP       Valid char addr
    005C   92 Signed       4 SRBTREG        Temp area for reg in STDGPRLG
    0060   96 Signed       4 SRBDIFF        Difference between PSW and
                                            designated register.
    0064  100 Signed       2 SRBNUM         Number of valid chars
    0066  102 Signed       2 SRBMOVL        Length of SR to be moved..
    0068  104 Signed       2 SRBSRL         Length of Symptom Record.
    006A  106 Signed       2 SRBTOGET       Length of storage to obtain for
                                            GSDBK
    006C  108 Character    1 SRBRNDX        Index into INXARRAY
    006D  109 Character    1 SRBRSSX        Index into Register Symptom
                                            String Array
    006E  110 Character    1 SRBSTDX        Index into STDGPRLG
    006F  111 Character    1 SRBMAXS        Max number of primary symptom
                                            strings written
    0070  112 Character   16 *              Reserved for IBM Use
          Length of symptom record interface block in doublewords.
              00000010       SRBSIZE        (*-SRBBK+7)/8

#### SRBBK Storage Layout

    *** SRBBK - Symptom Record Building Parameter List
    *
    *     +---------------------------+---------------------------+
    *   0 |         SRBWORKP          |         SRBPFXPT          |
    *     +---------------------------+-------------+-------------+
    *   8 |         SRBSTDBK          |  SRBSEC21   |   (00E)-    |
    *     +---------------------------+-------------+------+------+
    *  10 |               -SRBDMPTY                 |:FLAG |(017)-|
    *     +---------------------------+-------------+------+------+
    *  18 |        -SRBTEMP5          |         SRBTEMP9          |
    *     +---------------------------+      +--------------------+
    *     |                                  |     SRBTMP5A-      |
    *     +-------------+--------------------+--------------------+
    *  28 |   -(025)    |      SRBCHR3       |////////////////////|
    *     +-------------+-------------+------+--------------------+
    *  30 |///////////////////////////|          SRBPSW           |
    *     +---------------------------+---------------------------+
    *  38 |         SRBRTRNC          |         SRBPFXPP          |
    *     +---------------------------+---------------------------+
    *  40 |         SRBADSRP          |         SRBGSDBP          |
    *     +---------------------------+---------------------------+
    *  48 |         SRBNXTPP          |         SRB5BKP           |
    *     +---------------------------+---------------------------+
    *  50 |         SRBCHKL           |         SRBSRCP           |
    *     +---------------------------+---------------------------+
    *  58 |         SRBVALDP          |         SRBTREG           |
    *     +---------------------------+-------------+-------------+
    *  60 |         SRBDIFF           |   SRBNUM    |  SRBMOVL    |
    *     +-------------+-------------+------+------+------+------+
    *  68 |   SRBSRL    |  SRBTOGET   |:RNDX |:RSSX |:STDX |:MAXS |
    *     +-------------+-------------+------+------+------+------+
    *  70 |///////////////////////////////////////////////////////|
    *     |///////////////////////////////////////////////////////|
    *     +-------------------------------------------------------+
    *  80
    *
    *** SRBBK - Symptom Record Building Parameter List

#### SRBBK Cross Reference

    Symbol         Dspl Value
    -------------- ---- -----
    SRBADSRP       0040
    SRBCHKL        0050
    SRBCHR3        002A
    SRBDIFF        0060
    SRBDMPTY       000E
    SRBFLAG        0016
    SRBGSDBP       0044
    SRBMAXS        006F
    SRBMOVL        0066
    SRBNUM         0064
    SRBNXTPP       0048
    SRBPFXPP       003C
    SRBPFXPT       0004
    SRBPSW         0034
    SRBRNDX        006C
    SRBRSSX        006D
    SRBRTRNC       0038
    SRBSEC21       000C
    SRBSIZE        0070 00000010
    SRBSRCP        0054
    SRBSRL         0068
    SRBSTDBK       0008
    SRBSTDX        006E
    SRBTEMP5       0017
    SRBTEMP9       001C
    SRBTMP5A       0025
    SRBTOGET       006A
    SRBTREG        005C
    SRBVALDP       0058
    SRBWORKP       0000
    SRB5BKP        004C

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