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

#### PEDBK

Prolog

Control Block Contents
PEDBK DSECT

Storage Layout

Cross Reference (Contains links to field and bit definitions)

#### PEDBK Prolog

     Name       : HCPPEDBK
     Description: Product Enablement Data Block
     DSECT      : PEDBK
     Function   : Contains information relating to Products
                  that are explicitly marked Enabled or Disabled
                  on the system.
     Located by : SYSPEDBK pointer of system.  These control
                  blocks are kept in SORTED order using PEDPRDID
                  as the key.
     Created by : HCPPEC, HCPPES
     Deleted by : HCPPEA
     Serialized : SYSPEDLK Lock in System Common area
     USAGE NOTES  :  The next field MUST be retained as the FIRST
                  data field within the control block.  The
                  chaining routine in HCPPEA requires this to
                  be at offset zero.

#### PEDBK Control Block Content

#### PEDBK DSECT

    Hex   Dec Type/Val   Lng Label (dup)    Comments
    ---- ---- --------- ---- -------------- --------
    0000    0 Structure      PEDBK          Product Enablement Data Block
    0000    0 Signed       4 PEDNEXT        Pointer to Next PEDBK
    0004    4 Signed       4 *              ** Reserved for IBM use **
    0008    8 Bitstring    1 PEDTYPE        Type of enablement block
              00000001       PEDPROD        X'01' Indicates this is Product
                                            Block
    0009    9 Bitstring    1 PEDFLAG1       Status Flag for Enablement block
              1... ....      PEDENABL       X'80' Product is Enabled
              .1.. ....      PEDDISAB       X'40' Product is Disabled
              ..1. ....      PEDDELET       X'20' Product Definition Delete
                                            request
              ...1 ....      PEDDESCR       X'10' Definition Contains
                                            Description
    000A   10 Bitstring    1 PEDFLAG2       Status Flag for PEDBK storage
              ...1 ....      PEDDESCD       X'10' Description data is
                                            contigious This is included to
                                            note that the control block is
                                            variable length. If NO
                                            Description is present or if new
                                            development allocates a separate
                                            area the block will only be the
                                            fixed data size.
    000B   11 Bitstring   13 *              ** Reserved for IBM use **
    0018   24 Dbl-Word     8 * (0)
    0018   24 Character    8 PEDPRDID       Product Identifier ( 7 or 8 char)
    0020   32 Signed       4 PEDDESCL       Length of product description
    0024   36 Signed       4 PEDDESCA       Address of product description
    0028   40 Dbl-Word     8 * (0)
              00000028       PEDCONTD       * This is the beginning of Descr.
                                            if it is contiguous
              1111 1111      PEDMXDES       X'FF' Maximum Description size
              00000028       PEDBKSIZ       *-PEDBK Size of PEDBK in Bytes
              00000005       PEDBKSZD       (*-PEDBK+7)/8 Size of PEDBK in
                                            Doublewords
              00000127       PEDMXSZ        PEDBKSIZ+PEDMXDES Maximum size if
                                            description is contiguous

#### PEDBK Storage Layout

    *** PEDBK - Product Enablement Data Block
    *
    *     +---------------------------+---------------------------+
    *   0 |         PEDNEXT           |///////////////////////////|
    *     +------+------+------+------+---------------------------+
    *   8 |:TYPE |:FLAG1|:FLAG2|//////////////////////////////////|
    *     +------+------+------+//////////////////////////////////|
    *     |///////////////////////////////////////////////////////|
    *     +-------------------------------------------------------+
    *  18 |                       PEDPRDID                        |
    *     +---------------------------+---------------------------+
    *  20 |         PEDDESCL          |         PEDDESCA          |
    *     +---------------------------+---------------------------+
    *  28
    *
    *** PEDBK - Product Enablement Data Block

#### PEDBK Cross Reference

    Symbol         Dspl Value
    -------------- ---- -----
    PEDBKSIZ       0028 00000028
    PEDBKSZD       0028 00000005
    PEDCONTD       0028 00000028
    PEDDELET       0009 20
    PEDDESCA       0024
    PEDDESCD       000A 10
    PEDDESCL       0020
    PEDDESCR       0009 10
    PEDDISAB       0009 40
    PEDENABL       0009 80
    PEDFLAG1       0009
    PEDFLAG2       000A
    PEDMXDES       0028 FF
    PEDMXSZ        0028 00000127
    PEDNEXT        0000
    PEDPRDID       0018
    PEDPROD        0008 00000001
    PEDTYPE        0008

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