Programming Interface Information: This page documents intended Programming Interfaces that allow the customer to write programs to obtain the services of z/VM.

#### SGMTEXIT

Prolog

Control Block Contents
SGMTEXIT DSECT

Storage Layout

Cross Reference (Contains links to field and bit definitions)

#### SGMTEXIT Prolog

     Name       : SGMTEXIT
     Description: Shared Segment Management User Exit
     DSECT      : SGMTEXIT
     Function   : Map User Exit Control Block

#### SGMTEXIT Control Block Content

#### SGMTEXIT DSECT

    Hex   Dec Type/Val   Lng Label (dup)    Comments
    ---- ---- --------- ---- -------------- --------
    0000    0 Structure      SGMTEXIT       Queue Manager plist
    0000    0 Character    8 SGMRTN         Name of user routine
    0008    8 Character    8 SGMNAME        Name of user object
    0010   16 Character    8 SGMLSEG        Name of lseg user info is in
    0018   24 Bitstring    2 SGMFUNC        Function code
              .... ....      SGMLDS         0 Load in shared mode
              .... .1..      SGMLDNS        4 Load in non-shared mode
              .... 1...      SGMPURGE       8 Purge
    001A   26 Bitstring    2 *              Reserved field
    001C   28 Signed       4 SGMSTART       Start of user info
    0020   32 Signed       4 SGMEND         End of user info
    0024   36 Signed       4 SGMPSTRT       Start address of parm list
    0028   40 Signed       4 SGMPLEN        Length of parm list
    002C   44 Character   12 *              Reserved field
              00000038       SGMBLKBY       *-SGMTEXIT SGMTEXIT length in
                                            bytes
              00000007       SGMBLKDW       (SGMBLKBY+7)/8 SGMTEXIT length in
                                            dbytes

#### SGMTEXIT Storage Layout

    *** SGMTEXIT - Control Block in SGMTEXIT
    *
    *     +-------------------------------------------------------+
    *   0 |                        SGMRTN                         |
    *     +-------------------------------------------------------+
    *   8 |                       SGMNAME                         |
    *     +-------------------------------------------------------+
    *  10 |                       SGMLSEG                         |
    *     +-------------+-------------+---------------------------+
    *  18 |  SGMFUNC    |/////////////|         SGMSTART          |
    *     +-------------+-------------+---------------------------+
    *  20 |          SGMEND           |         SGMPSTRT          |
    *     +---------------------------+---------------------------+
    *  28 |         SGMPLEN           |///////////////////////////|
    *     +---------------------------+///////////////////////////|
    *     |///////////////////////////////////////////////////////|
    *     +-------------------------------------------------------+
    *  38
    *
    *** SGMTEXIT - Control Block in SGMTEXIT

#### SGMTEXIT Cross Reference

    Symbol         Dspl Value
    -------------- ---- -----
    SGMBLKBY       002C 00000038
    SGMBLKDW       002C 00000007
    SGMEND         0020
    SGMFUNC        0018
    SGMLDNS        0018 04
    SGMLDS         0018 00
    SGMLSEG        0010
    SGMNAME        0008
    SGMPLEN        0028
    SGMPSTRT       0024
    SGMPURGE       0018 08
    SGMRTN         0000
    SGMSTART       001C

This information is based on z/VM V4R4.0.
Last updated on 28 Jul 2003 at 08:17:18 EDT.
Copyright IBM Corporation, 1990, 2003