USERSAVE | Back to Index page

| Prolog Control Block Contents USERSAVE DSECT Storage Layout Cross Reference (Contains links to field and bit definitions) |
Programming Interface Information: This page documents intended Programming Interfaces that allow the customer to write programs to obtain the services of z/VM.

USERSAVE Prolog | Top of page

     NAME       : USERSAVE
     DESCRIPTION: User Save Area
     DSECT      : USERSAVE
     FUNCTION   : Maps the area pointed to by R13 upon
                  entry to a program called by SVC.

USERSAVE Control Block Content | Top of page

     USERSAVE DSECT
    Top of page

    Hex   Dec Type/Val   Lng Label (dup)    Comments
    ---- ---- --------- ---- -------------- --------
    0000    0 Structure      USERSAVE       User Save Area
    0000    0 Dbl-Word     8 * (12)         Reserved for the user.
              00000060       USERSIZE       *-USERSAVE Size of area reserved
                                            for user.
    0060   96 Dbl-Word     8 USERINFO       Information passed to user.
    0060   96 Bitstring    1 USECTYP        Contains CALLTYP value.
    0061   97 Bitstring    1 USEUFLG        Contains UFLAGS value.
    0062   98 Bitstring    1 * (2)          Reserved for IBM use.
    0064  100 Bitstring    1 USEMFLG        Miscellaneous bits.
              1... ....      USECMS         X'80' USECMS Invoked by CMSCALL.
              .1.. ....      USEA31         X'40' USEA31 Caller's AMODE is
                                            31.
              ..1. ....      USESCBLK       X'20' USESCBLK SCBLOCK is
                                            available in R2.
              ...1 ....      USEPLIST       X'10' USEPLIST Extended PLIST
                                            available in R0, only valid if
                                            invoked by CMSCALL.
              .... 1...      USEAR          X'08' USEAR Caller was in AR-mode
                                            when
              .... ...1      USEA64         X'01' USEA64 Caller's AMODE is 64
                                            (USEA31 is also ON for
                                            compatibility). CMSCALL issued
    0065  101 Bitstring    1 * (3)          Reserved for IBM use.
              0000000D       USERSAVL       (*-USERSAVE+7)/8 BLOCK LENGTH
                                            (DOUBLEWORD)

USERSAVE Storage Layout | Top of page

    *** USERSAVE - User Save Area
    *
    *     +-------------------------------------------------------+
    *   0 |///////////////////////////////////////////////////////|
    *     =///////////////////////////////////////////////////////=
    *     |///////////////////////////////////////////////////////|
    *     +-------------------------------------------------------+
    *  60 |                       USERINFO                        |
    *     +-------------------------------------------------------+
    *  68
    *
    *** USERSAVE - User Save Area

    *** Overlay for USERINFO in USERSAVE
    *
    *     +------+------+-------------+------+--------------------+
    *  60 |:CTYP |:UFLG |/////////////|:MFLG |////////////////////|
    *     +------+------+-------------+------+--------------------+
    *  68
    *
    *** Overlay for USERINFO in USERSAVE

USERSAVE Cross Reference | Top of page

    Symbol         Dspl Value
    -------------- ---- -----
    USEAR          0064 08
    USEA31         0064 40
    USEA64         0064 01
    USECMS         0064 80
    USECTYP        0060
    USEMFLG        0064
    USEPLIST       0064 10
    USERINFO       0060
    USERSAVL       0065 0000000D
    USERSIZE       0000 00000060
    USESCBLK       0064 20
    USEUFLG        0061

This information is based on z/VM 7.2.0 Last updated on 24 Jun 2020 at 09:36:42 EDT.
Copyright IBM Corporation, 1990, 2020