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

#### A0UBK

Prolog

Control Block Contents
A0UBK DSECT

Storage Layout

Cross Reference (Contains links to field and bit definitions)

#### A0UBK Prolog

     NAME       : HCPA0UBK
     DESCRIPTION: Diagnose A0 (subcode x'24') list entry
     DSECT      : A0UBK
     FUNCTION   : Maps an entry supplied by a virtual machine to
                  Diagnose A0, subcode x'28'
     LOCATED BY : N/A - virtual machine supplies storage
     CREATED BY : storage for entries is supplied by virtual
                  machine which executes diagnose A0, subcode
                  x'28'
     DELETED BY : N/A
     SERIALIZED : None

#### A0UBK Control Block Content

#### A0UBK DSECT

    Hex   Dec Type/Val   Lng Label (dup)    Comments
    ---- ---- --------- ---- -------------- --------
    0000    0 Structure      A0UBK          Diagnose A0 (subcode x'24') list
                                            entry
    0000    0 Character   12 A0UNAME        Command, diagnose, or system
                                            function name
    000C   12 Character   12 A0UCMDOP       Command operand. Valid only if
                                            entry type (i.e. A0UENTYP) is
                                            A0UCPCMD, A0USTCMD, or A0UQYCMD
                                            and A0UOPRND is on
    0018   24 Bitstring    1 A0UIBMCL       IBM Class. Valid only if entry
                                            type (i.e. A0UENTYP) is A0UCPCMD,
                                            A0USTCMD, or A0UQYCMD.
              00000080       A0UIBMA        X'80' IBM Class A
              00000040       A0UIBMB        X'40' IBM Class B
              00000020       A0UIBMC        X'20' IBM Class C
              00000010       A0UIBMD        X'10' IBM Class D
              00000008       A0UIBME        X'08' IBM Class E
              00000004       A0UIBMF        X'04' IBM Class F
              00000002       A0UIBMG        X'02' IBM Class G
              00000001       A0UIBMH        X'01' IBM Class H
              000000FF       A0UCLANY       X'FF' IBM Class 'ANY'
    0019   25 Bitstring    1 A0UENTYP       Entry type
              00000001       A0UCPCMD       X'01' CP command
              00000002       A0USTCMD       X'02' CP SET command
              00000003       A0UQYCMD       X'03' CP QUERY command
              00000004       A0UDIAG        X'04' Diagnose code Constants 6-8
                                            are reserved
              00000009       A0USYSFN       X'09' System function
    001A   26 Bitstring    1 A0UENTFL       Entry flags
              1... ....      A0UOPRND       X'80' Command operand field is
                                            valid
    001B   27 Bitstring    1 *              Reserved for future IBM use
    001C   28 Signed       2 A0UECODE       Error code
         CODE DEFINITIONS FOR A0UECODE:
              00000000       A0UNOERR       000 Entry is o.k.
              00000001       A0UCMDNF       001 Unkown CP command
              00000003       A0UINVLD       003 Invalid entry
              00000064       A0UCNOPR       100 Command cannot be protected
              00000065       A0UNOLOG       101 Command cannot be disabled
                                            prior to logon
              00000066       A0UIBMNF       102 Command not found for
                                            specified IBM class or 'A0UIBMCL'
                                            is invalid
              00000067       A0UOPRNG       103 'A0UOPRND' not supported for
                                            entry
              00000068       A0UOPRMS       104 'A0UCMDOP' is missing
              00000069       A0UNOSET       105 'CP SET' command is not
                                            supported
              0000006A       A0UNOQUY       106 'CP QUERY' command is not
                                            supported
              000000C8       A0UDGINV       200 Diagnose name is invalid
              000000C9       A0UNOTM4       201 Diagnose code is not a
                                            multiple of 4
              000000CA       A0UDGND        202 Diagnose code is not
                                            available (i.e. defined)
              000000CB       A0UDNOPR       203 Diagnose cannot be protected
              0000012C       A0USYSNS       300 System function not supported
                                            or unknown
              0000012D       A0USNOPR       301 System function cannot be
                                            protected
    001E   30 Bitstring    1 A0USECUR       flags -
              1... ....      A0ULOGON       X'80' Command should be valid
                                            prior to logon
              .1.. ....      A0UAUDIT       X'40' Command, diagnose, or
                                            system function should be audited
              ..1. ....      A0UPROT        X'20' Command, diagnose or system
                                            function should be protected
              ...1 ....      A0UMAC         X'10' Command, diagnose or system
                                            function should be MAC'd
    001F   31 Bitstring   33 *              Reserved for future IBM use
              00000040       A0UNEXT        * Next entry
              00000008       A0USIZE        (*-A0UBK+7)/8 Size of A0UBK in
                                            double words
              00000040       A0UBSIZE       *-A0UBK Size of A0UBK in bytes

#### A0UBK Storage Layout

    *** A0UBK - Diagnose A0 (subcode x'24') list entry
    *
    *     +-------------------------------------------------------+
    *   0 |                       A0UNAME                         |
    *     |                           +---------------------------+
    *   8 |                           |         A0UCMDOP          |
    *     +---------------------------+                           |
    *     |                                                       |
    *     +------+------+------+------+-------------+------+------+
    *  18 |:IBMCL|:ENTYP|:ENTFL|//////|  A0UECODE   |:SECUR|//////|
    *     +------+------+------+------+-------------+------+//////|
    *  20 |///////////////////////////////////////////////////////|
    *     =///////////////////////////////////////////////////////=
    *     |///////////////////////////////////////////////////////|
    *     +-------------------------------------------------------+
    *  40
    *
    *** A0UBK - Diagnose A0 (subcode x'24') list entry

#### A0UBK Cross Reference

    Symbol         Dspl Value
    -------------- ---- -----
    A0UAUDIT       001E 40
    A0UBSIZE       001F 00000040
    A0UCLANY       0018 000000FF
    A0UCMDNF       001C 00000001
    A0UCMDOP       000C
    A0UCNOPR       001C 00000064
    A0UCPCMD       0019 00000001
    A0UDGINV       001C 000000C8
    A0UDGND        001C 000000CA
    A0UDIAG        0019 00000004
    A0UDNOPR       001C 000000CB
    A0UECODE       001C
    A0UENTFL       001A
    A0UENTYP       0019
    A0UIBMA        0018 00000080
    A0UIBMB        0018 00000040
    A0UIBMC        0018 00000020
    A0UIBMCL       0018
    A0UIBMD        0018 00000010
    A0UIBME        0018 00000008
    A0UIBMF        0018 00000004
    A0UIBMG        0018 00000002
    A0UIBMH        0018 00000001
    A0UIBMNF       001C 00000066
    A0UINVLD       001C 00000003
    A0ULOGON       001E 80
    A0UMAC         001E 10
    A0UNAME        0000
    A0UNEXT        001F 00000040
    A0UNOERR       001C 00000000
    A0UNOLOG       001C 00000065
    A0UNOQUY       001C 0000006A
    A0UNOSET       001C 00000069
    A0UNOTM4       001C 000000C9
    A0UOPRMS       001C 00000068
    A0UOPRND       001A 80
    A0UOPRNG       001C 00000067
    A0UPROT        001E 20
    A0UQYCMD       0019 00000003
    A0USECUR       001E
    A0USIZE        001F 00000008
    A0USNOPR       001C 0000012D
    A0USTCMD       0019 00000002
    A0USYSFN       0019 00000009
    A0USYSNS       001C 0000012C

This information is based on z/VM V4R3.0. Last updated on 1 May 2002 at 08:01:10 EDT.
Copyright IBM Corporation, 1990, 2002