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

#### MONSK

Prolog

Control Block Contents
MONSK DSECT

Storage Layout

Cross Reference (Contains links to field and bit definitions)

#### MONSK Prolog

     NAME       : HCPMONSK
     DESCRIPTION: Monitor SEEKs Mapping
     DSECT      : MONSK
     FUNCTION   : Map the data needed for monitoring SEEK CCWs
     LOCATED BY : None
     CREATED BY : Dynamically created when needed.
     DELETED BY : Dynamically deleted when 'using' task is finished.
     SERIALIZED : None
     Notes      : This control block is bilingual.  The fields within it can
                  be referenced in either ASSEMBLER or PLAS modules.
     Notes      : The fields in this control block are used for FBA
                  devices as well as CKD/ECKD devices.  For FBA
                  devices a LOCATE is considered a 'SEEK', and
                  cylinder values are calculated from block numbers.

#### MONSK Control Block Content

#### MONSK DSECT

    Hex   Dec Type/Val   Lng Label (dup)    Comments
    ---- ---- --------- ---- -------------- --------
    0000    0 Structure      MONSK          Monitor SEEKs Mapping
    0000    0 Signed       4 MONPOSCT       Access arm positioning count
              .... ...1      MONPOS1        1 Indicate 1 ccw causing arm
                                            movement
    0004    4 Signed       4 MONPOSSM       Sum of arm motion
              .... ....      MONPOSM0       0 Indicate 0 arm motion summation
    0008    8 Signed       2 MONSCYL        1st 'SEEK' address in chan prog
    000A   10 Signed       2 MONECYL        Last 'SEEK' address in chan prog
    000C   12 Signed       2 MONHEAD        Head number
    000E   14 Bitstring    1 MONIFLG        Information flag
              .... ..1.      MONDPOSD       X'02' Monitor SEEK data is valid
              .... ...1      MONDWRIT       X'01' Chan prog has WRITE CCWs
    000F   15 Bitstring    1 *              Reserved for IBM use
              00000002       MONSKSZ        ((*-MONSK)+7)/8 MONSK size in
                                            double words
              .... ....      MONCYL0        X'00' Cylinder 0 equate

#### MONSK Storage Layout

    *** MONSK - Monitor SEEKs Mapping
    *
    *     +---------------------------+---------------------------+
    *   0 |         MONPOSCT          |         MONPOSSM          |
    *     +-------------+-------------+-------------+------+------+
    *   8 |  MONSCYL    |  MONECYL    |  MONHEAD    |:IFLG |//////|
    *     +-------------+-------------+-------------+------+------+
    *  10
    *
    *** MONSK - Monitor SEEKs Mapping

#### MONSK Cross Reference

    Symbol         Dspl Value
    -------------- ---- -----
    MONCYL0        000F 00
    MONDPOSD       000E 02
    MONDWRIT       000E 01
    MONECYL        000A
    MONHEAD        000C
    MONIFLG        000E
    MONPOSCT       0000
    MONPOSM0       0004 00
    MONPOSSM       0004
    MONPOS1        0000 01
    MONSCYL        0008
    MONSKSZ        000F 00000002

This information is based on z/VM V4R3.0. Last updated on 30 Apr 2002 at 16:58:09 EDT.
Copyright IBM Corporation, 1990, 2002