SMT - storage subpool storage statistics

    CONTROL BLOCK NAME = DFHSMTDS
    NAME OF MATCHING PLS CONTROL BLOCK = DFHSMDPS
    DESCRIPTIVE NAME = CICS TS Storage statistics for task subpools.
           Licensed Materials - Property of IBM
            Restricted Materials of IBM 
           5655-Y04
           (C) Copyright IBM Corp. 1986, 1993 
    FUNCTION = This DSECT describes the task subpool statistics
               provided by the storage manager.
               It is provided for use in users monitoring applications
               to map the statistics returned via the statistics exit
               or SMF.
               An instance of this data area may represent the
               statistics for either the task subpools above the 16 meg
               line or those below the 16 meg line.
               There is a single instance of this data block.
    LIFETIME = This data block is created by the storage manager to
               hold task subpool statistics. It is released when the
               request for statistics has been satisfied.
    LOCATION = Caller is passed a pointer to the head of the block.
    INNER CONTROL BLOCKS = None
    NOTES :
       DEPENDENCIES = S/370
       RESTRICTIONS = none
       MODULE TYPE = Control block definition
   --------------------------------------------------------------------
    EXTERNAL REFERENCES = None
        DATA AREAS = None
        CONTROL BLOCKS From storage manager domain.
        GLOBAL VARIABLES (Macro pass) = None
   --------------------------------------------------------------------
Table 1.
Offset Hex Type Len Name (Dim) Description
(0) STRUCTURE 0 DFHSMTDS Task subpool statistics header
(0) FULLWORD 4 (0) Fullword allignment
(0) HALFWORD 2 SMTLEN Length of data area
(0) ...1 .1..   SMTIDE "20" Task subpool id mask
(2) ADDRESS 2 SMTID Task subpool stats id
(2) .... ...1   SMTVERS "X'01'" DSECT version number mask
(4) CHARACTER 1 SMTDVERS Statistics version number
(5) CHARACTER 3   Reserved
(5) .... 1...   SMTHEND "*" End of header
(5) .... 1...   SMTHLEN "*-SMTLEN" Header length
Table 2.
Offset Hex Type Len Name (Dim) Description
(0) STRUCTURE 0 SMTGLOBAL Global statistics
(0) HALFWORD 2 SMTNTASK No. of task subpools
(2) HALFWORD 2   reserved
(2) .... .1..   SMTGEND "*" The end
(2) .... .1..   SMTGLEN "*-SMTGLOBAL" length of global area
Table 3.
Offset Hex Type Len Name (Dim) Description
(0) STRUCTURE 0 SMTBODY Task subpool statistics body
(0) CHARACTER 8 SMTDSANAME DSA name
(8) BITSTRING 1 SMTLOCN Location - Above/below the line
(9) BITSTRING 1 SMTACCESS Access - CICS/USER
(A) BITSTRING 1 SMTDSAINDEX DSA index
(B) CHARACTER 1   Reserved
(C) FULLWORD 4 SMTGMREQ No. Getmain reqs
(10) FULLWORD 4 SMTFMREQ No. Freemain reqs
(14) FULLWORD 4 SMTCES Sum of all element lengths
(18) FULLWORD 4 SMTCPS Current page storage
(1C) FULLWORD 4 SMTCNE Current No. elements
(20) FULLWORD 4 SMTHWMPS High Water Mark Page storage
(20) ..1. .1..   SMTBEND "*" End of body
(20) ..1. .1..   SMTBLEN "*-SMTBODY" Length of body DSECT
  Equates for testing SMTLOCATION.
(20) .... ...1   SMTBELOW "1"
(20) .... ..1.   SMTABOVE "2"
(20) .... ..11   SMTABOVEBAR "3"
  Equates for testing SMTACCESS
(20) .... ...1   SMTCICS "1"
(20) .... ..1.   SMTUSER "2"
  Equates for testing SMTDSAINDEX.
(20) .... ...1   SMTCDSA "1"
(20) .... ..1.   SMTUDSA "2"
(20) .... 1..1   SMTECDSA "9"
(20) .... 1.1.   SMTEUDSA "10"
(20) ...1 ...1   SMTGCDSA "17"
(20) ...1 ..1.   SMTGUDSA "18"