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

#### REGBK

Prolog

Control Block Contents
REGBK DSECT

Storage Layout

Cross Reference (Contains links to field and bit definitions)

#### REGBK Prolog

     NAME       : HCPREGBK
     DESCRIPTION: User Exit Registration Block
     DSECT      : REGBK
     FUNCTION   : This DSECT maps the shared control block which
                  an extension to CP (user exit) uses to identify
                  itself to the control program.
     LOCATED BY :
     CREATED BY :
     DELETED BY :
     SERIALIZED :
     COMMENTS   :

#### REGBK Control Block Content

#### REGBK DSECT

    Hex   Dec Type/Val   Lng Label (dup)    Comments
    ---- ---- --------- ---- -------------- --------
    0000    0 Structure      REGBK          User Exit Registration Block
    0000    0 Dbl-Word     8 * (0)
    0000    0 Signed       4 REGTYPE        Type of user exit
    0004    4 Signed       2 REGCPLEN       Length of the CP area (REGCP)
    0006    6 Signed       2 REGUSLEN       Length of the user area (REGUSER)
            CP area
              00000008       REGCP          * CP area
    0008    8 Signed       4 REGCPWRD       CP word
    000C   12 Address      4 REGCPPTR       CP pointer
    0010   16 Address      4 REGRELES       Entry point to call if
                                            deregistration must happen
                                            immediately.
    0014   20 Address      4 REGDRAIN       Entry point to call if
                                            deregistration can happen
                                            normally.
              00000018       REGCPDEF       * Start of CP area redefined for
                                            each function
            Mapping for the CP Datagram mailbox.
              00000018       REGCMBX        * CP fields for the ISFC
                                            transport
    0018   24 Address      4 REGMBXAC       Activate entry point
    001C   28 Address      4 REGMBXDC       De-activate entry point
    0020   32 Address      4 REGMBXTR       Transmit entry point
    0024   36 Signed       4 REGMBXD1       1st page data offset
    0028   40 Signed       4 REGMBXDO       other pages data offset
            Length of the CP area.
              00000005       REGCPSZ        (*-REGCP+7)/8 REGCP size in
                                            doublewords
              00000024       REGCPBSZ       *-REGCP REGCP size in bytes
            Definition of the user portion of the REGBK. This is
            put after the CP length, so that it can be after the
            largest CP portion.
              0000002C       REGUSER        * User area
    002C   44 Signed       4 REGUSWRD       User word
    0030   48 Address      4 REGUSPTR       User pointer
    0034   52 Address      4 REGREVKD       Pointer to the revocation
                                            notification entry point
              00000038       REGUSDEF       * Start of user area redefined
                                            for each function code.
            Mapping for the CP Datagram mailbox.
              00000038       REGUMBX        * User fields for the CP
                                            application mailbox
            Defined REGTYPEs
              00000004       REGTYMBX       4 CP Mailbox regtype
            Length of the user area.
              00000002       REGUSSZ        (*-REGUSER+7)/8 REGUSER size in
                                            doublewords
              0000000C       REGUSBSZ       *-REGUSER REGUSER size in bytes
            Length of the REGBK.
              00000007       REGSIZE        (*-REGBK+7)/8 REGBK size in
                                            doublewords
              00000038       REGBSIZE       *-REGBK REGBK size in bytes

#### REGBK Storage Layout

    *** REGBK - User Exit Registration Block
    *
    *     +---------------------------+-------------+-------------+
    *   0 |         REGTYPE           |  REGCPLEN   |  REGUSLEN   |
    *     +---------------------------+-------------+-------------+
    *   8 |         REGCPWRD          |         REGCPPTR          |
    *     +---------------------------+---------------------------+
    *  10 |         REGRELES          |         REGDRAIN          |
    *     +---------------------------+---------------------------+
    *  18 |///////////////////////////////////////////////////////|
    *     =///////////////////////////////////////////////////////=
    *     |///////////////////////////+---------------------------+
    *  28 |///////////////////////////|         REGUSWRD          |
    *     +---------------------------+---------------------------+
    *  30 |         REGUSPTR          |         REGREVKD          |
    *     +---------------------------+---------------------------+
    *  38
    *
    *** REGBK - User Exit Registration Block

    *** Overlay for REGCPDEF in REGBK
    *
    *     +---------------------------+---------------------------+
    *  18 |         REGMBXAC          |         REGMBXDC          |
    *     +---------------------------+---------------------------+
    *  20 |         REGMBXTR          |         REGMBXD1          |
    *     +---------------------------+---------------------------+
    *  28 |         REGMBXDO          | 2C
    *     +---------------------------+
    *
    *** Overlay for REGCPDEF in REGBK

#### REGBK Cross Reference

    Symbol         Dspl Value
    -------------- ---- -----
    REGBSIZE       0034 00000038
    REGCMBX        0014 00000018
    REGCP          0006 00000008
    REGCPBSZ       0028 00000024
    REGCPDEF       0014 00000018
    REGCPLEN       0004
    REGCPPTR       000C
    REGCPSZ        0028 00000005
    REGCPWRD       0008
    REGDRAIN       0014
    REGMBXAC       0018
    REGMBXDC       001C
    REGMBXDO       0028
    REGMBXD1       0024
    REGMBXTR       0020
    REGRELES       0010
    REGREVKD       0034
    REGSIZE        0034 00000007
    REGTYMBX       0034 00000004
    REGTYPE        0000
    REGUMBX        0034 00000038
    REGUSBSZ       0034 0000000C
    REGUSDEF       0034 00000038
    REGUSER        0028 0000002C
    REGUSLEN       0006
    REGUSPTR       0030
    REGUSSZ        0034 00000002
    REGUSWRD       002C

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