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' 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
    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
    -------------- ---- -----
    PROCODE        0026
    PROCOUNT       0019
    PRODATA        0027
    PRODLEN        0024
    PROFLGS        0018
    PROIPL         0018 80
    PROIPLMT       0019 0000000A
    PROLEN         0027 00000038
    PROLOCK        0000
    PROMSPTR       0020
    PROSIZE        0027 00000007
    PROTOD         001C

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