Programming Interface Information: The Monitor Records are intended Programming Interfaces that allow the customer to write programs to obtain services of z/VM.

#### MRSTOSHD

Prolog
Control Block Contents
Cross Reference

#### MRSTOSHD Prolog

####

####

     DSECT NAME - STOSHD
     FUNCTION - This is an event record that is created whenever
                a NSS, DCSS, or SSP (Segment SPace) is deleted from
                storage (released by the last user).
     LOCATED BY -
            Through the Monitor Control Area
     REFERENCED CONTROL BLOCKS -
            MRRECHDR    Monitor Record Header
     NAME - MRSTOSHD
     DESCRIPTIVE NAME - Monitor Event Record
                        Domain 3  - Storage Domain
                        Record 16 - NSS/DCSS/SSP removed from storage
     DESCRIPTION - Generated when a Named Saved System (NSS),
                   Discontiguous Saved Segment (DCSS), or Segment
                   SPace (SSP) is removed from storage (released by
                   the last user).

    MRSTOSHD Control Block Contents

    Offsets
    Dec Hex  Type       Len  Name (Dim)          Description

      0   0  Structure  100  STOSHD              Start of monitor record
      0   0  Character    0  STOSHD_MRHDR        record header
      0   0  Character   20  MRHDR
      0   0  Unsigned     2  MRHDRLEN            record length in bytes
      2   2  Unsigned     2  MRHDRZER            field of zeros
      4   4  Unsigned     1  MRHDRDM             domain identifier
      5   5  Unsigned     1  *
      6   6  Unsigned     2  MRHDRRC             record identifier
      8   8  Character    8  MRHDRTOD            Time at which this record was
                                                 built. In time-of-day (TOD) clock
                                                 format. See IBM System 370 XA
                                                 Principle of Operation for
                                                 explanation of format.
     16  10  Character    4  *
     20  14  Character    0  MRHDR_END           End of header
     20  14  Character    8  STOSHD_SDFFN        Saved System/Segment filename.
     28  1C  Character    8  STOSHD_SDFFT        Saved System/Segment filetype.
     36  24  Unsigned     4  STOSHD_SDFCLTIM     Time of data file creation.
     40  28  Signed       2  STOSHD_SDFIDNUM     Spool file identification number
                                                 of this System/Segment.
     42  2A  Character    1  STOSHD_SDFCLASS     Spool file class of this
                                                 System/Segment.
     43  2B  Character    1  *                   Reserved for IBM use
     44  2C  Unsigned     4  STOSHD_ASCCTPRS     Cardinal count of resident pages
                                                 for this saved System/Segment.
     48  30  Unsigned     4  STOSHD_SNTSTRCT     Number of pages saved in the
                                                 saved System/Segment.
     52  34  Unsigned     4  STOSHD_SNTNDTCT     Number of storage pages defined
                                                 with a 'no data saved' page
                                                 descriptor code.
     56  38  Unsigned     4  STOSHD_ASCCSPST     Cumulative count of frames
                                                 stolen from this saved
                                                 System/Segment.
     60  3C  Unsigned     4  STOSHD_ASCPTRSH     Cumulative count of page
                                                 translations of shaved pages for
                                                 this System/Segment.
     64  40  Character    8  *                   Reserved for IBM use
     72  48  Unsigned     4  STOSHD_ASCCSPGR     Cumulative count of pages read
                                                 from DASD to main storage for this
                                                 saved System/Segment.
     76  4C  Unsigned     4  STOSHD_ASCCSPGW     Cumulative count of pages
                                                 written from main storage to DASD
                                                 for this saved System/Segment.
     80  50  Unsigned     4  STOSHD_ASCCSXRD     Cumulative count of pages read
                                                 from expanded to main storage for
                                                 this saved System/Segment.
     84  54  Unsigned     4  STOSHD_ASCCSXWT     Cumulative count of pages
                                                 written from main to expanded
                                                 storage for this saved
                                                 System/Segment.
     88  58  Unsigned     4  STOSHD_ASCCSMIG     Cumulative count of pages
                                                 migrated by CP from expanded
                                                 storage to DASD for this saved
                                                 System/Segment.
     92  5C  Unsigned     4  STOSHD_ASCCTPLK     Cardinal count of frames locked
                                                 by this saved System/Segment.
     96  60  Unsigned     4  STOSHD_ASCCTPGS     Cardinal count of non- preferred
                                                 paging slots for this saved
                                                 System/Segment.
    100  64  Character    0  STOSHD_END

    MRSTOSHD Cross Reference

                          Hex           Hex
    Name                 Offset Length Value

    MRHDR                   0     20
    MRHDR_END              14      0
    MRHDRDM                 4      1
    MRHDRLEN                0      2
    MRHDRRC                 6      2
    MRHDRTOD                8      8
    MRHDRZER                2      2
    STOSHD                  0    100
    STOSHD_ASCCSMIG        58      4
    STOSHD_ASCCSPGR        48      4
    STOSHD_ASCCSPGW        4C      4
    STOSHD_ASCCSPST        38      4
    STOSHD_ASCCSXRD        50      4
    STOSHD_ASCCSXWT        54      4
    STOSHD_ASCCTPGS        60      4
    STOSHD_ASCCTPLK        5C      4
    STOSHD_ASCCTPRS        2C      4
    STOSHD_ASCPTRSH        3C      4
    STOSHD_END             64      0
    STOSHD_MRHDR            0      0
    STOSHD_SDFCLASS        2A      1
    STOSHD_SDFCLTIM        24      4
    STOSHD_SDFFN           14      8
    STOSHD_SDFFT           1C      8
    STOSHD_SDFIDNUM        28      2
    STOSHD_SNTNDTCT        34      4
    STOSHD_SNTSTRCT        30      4

    This information is
    based on z/VM V4R4.0.

    Last updated on 22 Jul 2003 at 15:04:23.

    Copyright IBM Corporation, 1990, 2003