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

#### DMSCDB

Prolog

Control Block Contents
DMSCDB DSECT

Storage Layout

Cross Reference (Contains links to field and bit definitions)

#### DMSCDB Prolog

     NAME       : DMSCDB
     DESCRIPTION: COMDIR CONTROL BLOCK
     DSECT      : DMSCDB
     FUNCTION   : The DMSCDB macro provides a mapping
                  of the COMDIR control block. The macro contains
                  two DSECTs: DMSCDB and CDBOVL.

#### DMSCDB Control Block Content

#### DMSCDB DSECT

    Hex   Dec Type/Val   Lng Label (dup)    Comments
    ---- ---- --------- ---- -------------- --------
    0000    0 Structure      DMSCDB
    0000    0 Character    8 CDBEYEC        eyecatcher for COMDIR block
    0008    8 Character   24 CDBSYS         system level information
    0008    8 Character   18 CDBSFID        system filespec
    0008    8 Character    8 CDBSFN         system file name
    0010   16 Character    8 CDBSFT         system file type
    0018   24 Character    2 CDBSFM         system file mode
    001A   26 Character    1 CDBSFLG        system flags
    001B   27 Character    1 *
    001C   28 Address      4 CDBSBLK        ptr to NAMEFSYS SCBLOCK
    0020   32 Character   24 CDBUSER        user level information
    0020   32 Character   18 CDBUFID        user filespec
    0020   32 Character    8 CDBUFN         user file name
    0028   40 Character    8 CDBUFT         user file type
    0030   48 Character    2 CDBUFM         user file mode
    0032   50 Character    1 CDBUFLG        user flags
    0033   51 Character    1 *
    0034   52 Address      4 CDBUBLK        ptr to NAMEFUSE SCBLOCK
    0038   56 Character   20 CDBCR
    0038   56 Signed       4 CDBCDSCE       COMDIR saved C/E ptr
    003C   60 Signed       4 CDBUSCE        USER saved C/E ptr
    0040   64 Signed       4 CDBUSCEL       USER saved C/E length
    0044   68 Character    8 CDBUSRI        USER saved RESID NAME : DMSCDB
                                            DESCRIPTION: COMDIR CONTROL BLOCK
                                            DSECT : CDBOVL

#### DMSCDB Storage Layout

    *** DMSCDB - Control Block in DMSCDB
    *
    *     +-------------------------------------------------------+
    *   0 |                       CDBEYEC                         |
    *     +-------------------------------------------------------+
    *   8 |                                                       |
    *     =                        CDBSYS                         =
    *     |                                                       |
    *     +-------------------------------------------------------+
    *  20
    *
    *** DMSCDB - Control Block in DMSCDB

    *** Overlay for CDBSYS in DMSCDB
    *
    *     +-------------------------------------------------------+
    *   8 |                                                       |
    *     =                       CDBSFID                         =
    *     |             +-----------------------------------------+
    *     |             | 1A
    *     +-------------+
    *
    *** Overlay for CDBSYS in DMSCDB

    *** Overlay for CDBSFID in DMSCDB
    *
    *     +-------------------------------------------------------+
    *   8 |                        CDBSFN                         |
    *     +-------------------------------------------------------+
    *  10 |                        CDBSFT                         |
    *     +-------------+------+------+---------------------------+
    *  18 |   CDBSFM    |:SFLG |//////|         CDBSBLK           |
    *     +-------------+------+------+---------------------------+
    *  20 |                                                       |
    *     =                       CDBUSER                         =
    *     |                                                       |
    *     +-------------------------------------------------------+
    *  38
    *
    *** Overlay for CDBSFID in DMSCDB

    *** Overlay for CDBUSER in DMSCDB
    *
    *     +-------------------------------------------------------+
    *  20 |                                                       |
    *     =                       CDBUFID                         =
    *     |             +-----------------------------------------+
    *     |             | 32
    *     +-------------+
    *
    *** Overlay for CDBUSER in DMSCDB

    *** Overlay for CDBUFID in DMSCDB
    *
    *     +-------------------------------------------------------+
    *  20 |                        CDBUFN                         |
    *     +-------------------------------------------------------+
    *  28 |                        CDBUFT                         |
    *     +-------------+------+------+---------------------------+
    *  30 |   CDBUFM    |:UFLG |//////|         CDBUBLK           |
    *     +-------------+------+------+---------------------------+
    *  38 |                                                       |
    *     =                        CDBCR                          =
    *     |                           +---------------------------+
    *     |                           | 4C
    *     +---------------------------+
    *
    *** Overlay for CDBUFID in DMSCDB

    *** Overlay for CDBCR in DMSCDB
    *
    *     +---------------------------+---------------------------+
    *  38 |         CDBCDSCE          |         CDBUSCE           |
    *     +---------------------------+---------------------------+
    *  40 |         CDBUSCEL          |         CDBUSRI-          |
    *     +---------------------------+---------------------------+
    *  48 |          -(044)           | 4C
    *     +---------------------------+
    *
    *** Overlay for CDBCR in DMSCDB

#### DMSCDB Cross Reference

    Symbol         Dspl Value
    -------------- ---- -----
    CDBCDSCE       0038
    CDBCR          0038
    CDBEYEC        0000
    CDBSBLK        001C
    CDBSFID        0008
    CDBSFLG        001A
    CDBSFM         0018
    CDBSFN         0008
    CDBSFT         0010
    CDBSYS         0008
    CDBUBLK        0034
    CDBUFID        0020
    CDBUFLG        0032
    CDBUFM         0030
    CDBUFN         0020
    CDBUFT         0028
    CDBUSCE        003C
    CDBUSCEL       0040
    CDBUSER        0020
    CDBUSRI        0044

This information is based on z/VM V4R4.0.
Last updated on 28 Jul 2003 at 08:14:23 EDT.
Copyright IBM Corporation, 1990, 2003