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

#### DCTBL

Prolog

Control Block Contents
DCTBL DSECT

Storage Layout

Cross Reference (Contains links to field and bit definitions)

#### DCTBL Prolog

     NAME       : HCPDCTBL
     DESCRIPTION: Device Characteristics Table
     DSECT      : DCTBL
     FUNCTION   : The Device CHaracteristics Table is used to
                  map status information for each type of device
                  supported.
     LOCATED BY : VIODDITB - VIOMI pointer containing address of this
                  table.
     CREATED BY : DCTBLs are generated by invoking the HCPDCTGN
                  macro.
     DELETED BY : DCTBLs are never deleted.
     SERIALIZED : DCTBLs are only referenced ('read from') and never
                  altered. Therefore, no serialization is required.

#### DCTBL Control Block Content

#### DCTBL DSECT

    Hex   Dec Type/Val   Lng Label (dup)    Comments
    ---- ---- --------- ---- -------------- --------
    0000    0 Structure      DCTBL          Device Characteristics Table
    0000    0 Character    4 DCTEBCDC       EBCDIC device type
    0004    4 Bitstring    1 DCTSNSFL       Sense Data validity flags
              1... ....      DCTCUIV        X'80' control unit info is valid
              .1.. ....      DCTDVIV        X'40' device info is valid
    0005    5 Bitstring    7 DCTSNSID (0)   SENSE ID information:
    0005    5 Bitstring    4 DCTCUINF (0)   (X'FF' & control unit info)
    0005    5 Bitstring    1 DCTSNSFF       'FF'X
    0006    6 Bitstring    6 DCTSNSDT (0)   (actual data portion)
    0006    6 Bitstring    2 DCTCUID        Control Unit ID
    0008    8 Bitstring    1 DCTCUMF        Control Unit Model/Features
    0009    9 Bitstring    3 DCTDVINF (0)   (device info)
    0009    9 Bitstring    2 DCTDVID        Device ID
    000B   11 Bitstring    1 DCTDVMF        Device Model/Features
    000C   12 Address      4 DCTVIODD       Address of Dedicated-Device VIOMI
    0010   16 Address      4 DCTVIOSH       Address of Shared-Device VIOMI
    0014   20 Address      4 DCTVIOSM       Address of Simulated-Device VIOMI
    0018   24 Address      4 DCTDINFO       Address of device-specific info
              00000004       DCTSIZE        (*-DCTBL+7)/8 Size, in
                                            doublewords, of DCTBL

#### DCTBL Storage Layout

    *** DCTBL - Device Characteristics Table
    *
    *     +---------------------------+------+------+-------------+
    *   0 |         DCTEBCDC          |:SNSFL|:SNSFF|  DCTCUID    |
    *     +------+-------------+------+------+------+-------------+
    *   8 |:CUMF |  DCTDVID    |:DVMF |         DCTVIODD          |
    *     +------+-------------+------+---------------------------+
    *  10 |         DCTVIOSH          |         DCTVIOSM          |
    *     +---------------------------+---------------------------+
    *  18 |         DCTDINFO          | 1C
    *     +---------------------------+
    *
    *** DCTBL - Device Characteristics Table

#### DCTBL Cross Reference

    Symbol         Dspl Value
    -------------- ---- -----
    DCTCUID        0006
    DCTCUINF       0005
    DCTCUIV        0004 80
    DCTCUMF        0008
    DCTDINFO       0018
    DCTDVID        0009
    DCTDVINF       0009
    DCTDVIV        0004 40
    DCTDVMF        000B
    DCTEBCDC       0000
    DCTSIZE        0018 00000004
    DCTSNSDT       0006
    DCTSNSFF       0005
    DCTSNSFL       0004
    DCTSNSID       0005
    DCTVIODD       000C
    DCTVIOSH       0010
    DCTVIOSM       0014

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