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

#### PROBK

Prolog

Control Block Contents
PROBK DSECT

Storage Layout

Cross Reference (Contains links to field and bit definitions)

#### PROBK Prolog

     NAME       : HCPPROBK
     DESCRIPTION: PROTECT BLOCK
     DSECT      : PROBK
     FUNCTION   : USED TO DEFINE ERROR(S) FROM WHICH A VIRTUAL
                  MACHINE IN PROTECTED APPLICATION ENVIRONMENT
                  HAS BEEN SHIELDED.
     LOCATED BY : VMDPROBK FIELD IN USER'S VMDBK
     CREATED BY : HCPREIPB
                  HCPREIPQ
     DELETED BY : HCPCNCRL

#### PROBK Control Block Content

#### PROBK DSECT

    Hex   Dec Type/Val   Lng Label (dup)    Comments
    ---- ---- --------- ---- -------------- --------
    0000    0 Structure      PROBK          PROTECT BLOCK
    0000    0 Dbl-Word     8 PROLOCK (3)    LOCK FOR UPDATING AND ACCESSING
                                            THIS PROTECT BLOCK
    0018   24 Bitstring    1 PROFLGS        PROTECT BLOCK STATUS FLAGS
              1... ....      PROIPL         X'80' PROIPL IPL HAS NOT OCCURRED
                                            SINCE THE ERROR HAS BEEN RECORDED
    0019   25 Signed       1 PROCOUNT       NUMBER OF ATTEMPTED IPLS SINCE
                                            PROTECTED APPLICATION ENVIRONMENT
                                            ESTABLISHED
              0000000A       PROIPLMT       10 LIMIT FOR NUMBER OF RE-IPL
                                            ATTEMPTS
    001A   26 Signed       2 *              RESERVED FOR IBM USE
    001C   28 Signed       4 PROTOD         TIME-OF-DAY OF LAST ATTEMPTED
                                            RE-IPL FOR USER (HIGH-ORDER PART
                                            OF CLOCK ONLY)
    0020   32 Address      4 PROMSPTR       POINTER TO QUEUE OF ERROR MSG
                                            BUFFERS
          THE FOLLOWING FIELDS CONTAIN INFORMATION RETURNED BY DIAG X'B0'
    0024   36 Signed       2 PRODLEN        LENGTH OF VARIABLE ERROR DATA
    0026   38 Signed       1 PROCODE        ERROR CODE
              00000001       PRODISWT       X'01' PRODISWT CP entered;
                                            Disabled wait PSW is provided in
                                            a message in the buffer
              00000002       PROEXTIL       X'02' PROEXTIL CP entered;
                                            External interrupt loop
              00000003       PROPAGER       X'03' PROPAGER CP entered; Paging
                                            error
              00000004       PROPRGIL       X'04' PROPRGIL CP entered;
                                            Program interrupt loop
              00000007       PROCPXIL       X'07' PROCPXIL CP entered;
                                            Complex interrupt loop
              00000008       PROSOFAB       X'08' PROSOFAB System soft abend,
                                            abend code is provided in message
                                            in the buffer
              00000009       PROCKSTP       X'09' PROCKSTP CPU stopped;
                                            Check-stop state entered
              0000000A       PROPGZDM       X'0A' PROPGZDM Page zero damaged
              0000000B       PROERNOM       X'0B' PROERNOM An error occurred
                                            but CP was unable to provide a
                                            message because of a paging error
    0027   39 Character   17 PRODATA        VARIABLE ERROR DATA
              00000007       PROSIZE        (*-PROBK+7)/8 PRO BLOCK SIZE IN
                                            DW'S
              00000038       PROLEN         (*-PROBK) PRO BLOCK SIZE IN BYTES

#### PROBK Storage Layout

    *** PROBK - PROTECT BLOCK
    *
    *     +-------------------------------------------------------+
    *   0 |                                                       |
    *     =                       PROLOCK                         =
    *     |                                                       |
    *     +------+------+-------------+---------------------------+
    *  18 |:FLGS |:COUNT|/////////////|          PROTOD           |
    *     +------+------+-------------+-------------+------+------+
    *  20 |         PROMSPTR          |  PRODLEN    |:CODE |      |
    *     +---------------------------+-------------+------+      |
    *     |                       PRODATA                         |
    *     |                                                       |
    *     +-------------------------------------------------------+
    *  38
    *
    *** PROBK - PROTECT BLOCK

#### PROBK Cross Reference

    Symbol         Dspl Value
    -------------- ---- -----
    PROCKSTP       0026 00000009
    PROCODE        0026
    PROCOUNT       0019
    PROCPXIL       0026 00000007
    PRODATA        0027
    PRODISWT       0026 00000001
    PRODLEN        0024
    PROERNOM       0026 0000000B
    PROEXTIL       0026 00000002
    PROFLGS        0018
    PROIPL         0018 80
    PROIPLMT       0019 0000000A
    PROLEN         0027 00000038
    PROLOCK        0000
    PROMSPTR       0020
    PROPAGER       0026 00000003
    PROPGZDM       0026 0000000A
    PROPRGIL       0026 00000004
    PROSIZE        0027 00000007
    PROSOFAB       0026 00000008
    PROTOD         001C

This information is based on z/VM V6R1.0. Last updated on 18 Feb 2010 at 09:23:09 EDT.
Copyright IBM Corporation, 1990, 2008