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

#### MWTBK

Prolog

Control Block Contents
MWTBK DSECT

Storage Layout

Cross Reference (Contains links to field and bit definitions)

#### MWTBK Prolog

     NAME       : HCPMWTBK
     DESCRIPTION: Monitor Writer Control Record Block
     DSECT      : MWTBK
     FUNCTION   : The monitor writer control record is the record
                  that describes the monitor data stored
                  immediately after this record in the output file
                  created by the monitor writer.
     LOCATED BY : none.
     CREATED BY : HCPMOWTR, monitor writer function (MONWRITE)
     DELETED BY : none.

#### MWTBK Control Block Content

#### MWTBK DSECT

    Hex   Dec Type/Val   Lng Label (dup)    Comments
    ---- ---- --------- ---- -------------- --------
    0000    0 Structure      MWTBK          Monitor Writer Control Record Block
    0000    0 Bitstring   40 MWTEXTBF       Message pending external
                                            interrupt buffer. This is mapped
                                            by the IPARML control block.
    0028   40 Bitstring 4056 MWTCAREA       Control area for Monitor data
                                            that follows this record.
    0028   40 Signed       4 MWTCAENT (3)   Control area entry
    0028   40 Signed       4 MWTCADOM       Domain information
    002C   44 Signed       4 MWTCASTR       Start address for the monitor
                                            records associated with this
                                            control area entry.
    0030   48 Signed       4 MWTCAEND       End address for the monitor
                                            records associated with this
                                            control area entry.
              0000000C       MWTCALEN       *-MWTCAENT Length of each control
                                            area entry
    0028   40 Bitstring    1 MWTCAFLG       Type of monitor data
              000000E2       MWTCASMP       X'E2' MWTCASMP Sample data
              000000C5       MWTCAEVT       X'C5' MWTCAEVT Event data
    0029   41 Bitstring    1 MWTCADMA       Domains whose data is given in
                                            this control area entry
              1... ....      MWTSYSTM       X'80' MWTSYSTM System domain
              .1.. ....      MWTMONTR       X'40' MWTMONTR Monitor domain
              ..1. ....      MWTSCHED       X'20' MWTSCHED Scheduler domain
              ...1 ....      MWTSTORE       X'10' MWTSTORE Storage domain
              .... 1...      MWTUSER        X'08' MWTUSER User domain
              .... .1..      MWTPROC        X'04' MWTPROC Processor domain
              .... ..1.      MWTIO          X'02' MWTIO I/O domain
              .... ...1      MWTSEEKS       X'01' MWTSEEKS Seeks domain
    002A   42 Bitstring    1 MWTCADMB       Second byte of domains whose data
                                            is given in this control area
                                            entry
              1... ....      MWTVND         X'80' MWTVND Virtual Network
                                            domain
              ..1. ....      MWTAPPL        X'20' MWTAPPL Appldata domain
    002B   43 Bitstring    1 *              Reserved for IBM use
              00001000       MWTLENTH       *-MWTBK The MWTBK is always 4K
                                            long but may have unused areas
                                            depending on the number of
                                            control area entries within a
                                            given record.

#### MWTBK Storage Layout

    *** MWTBK - Monitor Writer Control Record Block
    *
    *     +-------------------------------------------------------+
    *   0 |                                                       |
    *     =                       MWTEXTBF                        =
    *     |                                                       |
    *     +-------------------------------------------------------+
    *  28 |                                                       |
    *     =                       MWTCAREA                        =
    *     |                                                       |
    *     +-------------------------------------------------------+
    *1000
    *
    *** MWTBK - Monitor Writer Control Record Block

    *** Overlay for MWTCAREA in MWTBK
    *
    *     +-------------------------------------------------------+
    *  28 |                       MWTCAENT                        |
    *     |                           +---------------------------+
    *     |                           | 34
    *     +---------------------------+
    *
    *** Overlay for MWTCAREA in MWTBK

    *** Overlay for MWTCAENT in MWTBK
    *
    *     +---------------------------+---------------------------+
    *  28 |         MWTCADOM          |         MWTCASTR          |
    *     +---------------------------+---------------------------+
    *  30 |         MWTCAEND          | 34
    *     +---------------------------+
    *
    *** Overlay for MWTCAENT in MWTBK

    *** Overlay for MWTCADOM in MWTBK
    *
    *     +------+------+------+------+
    *  28 |:CAFLG|:CADMA|:CADMB|//////| 2C
    *     +------+------+------+------+
    *
    *** Overlay for MWTCADOM in MWTBK

#### MWTBK Cross Reference

    Symbol         Dspl Value
    -------------- ---- -----
    MWTAPPL        002A 20
    MWTCADMA       0029
    MWTCADMB       002A
    MWTCADOM       0028
    MWTCAEND       0030
    MWTCAENT       0028
    MWTCAEVT       0028 000000C5
    MWTCAFLG       0028
    MWTCALEN       0030 0000000C
    MWTCAREA       0028
    MWTCASMP       0028 000000E2
    MWTCASTR       002C
    MWTEXTBF       0000
    MWTIO          0029 02
    MWTLENTH       002B 00001000
    MWTMONTR       0029 40
    MWTPROC        0029 04
    MWTSCHED       0029 20
    MWTSEEKS       0029 01
    MWTSTORE       0029 10
    MWTSYSTM       0029 80
    MWTUSER        0029 08
    MWTVND         002A 80

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