TMSKT - Table Manager Scatter Table

      CONTROL BLOCK NAME = DFHTMSKT
      DESCRIPTIVE NAME = CICS TS Table Manager Scatter Table.
           Licensed Materials - Property of IBM
            Restricted Materials of IBM 
           5655-Y04
           (C) Copyright IBM Corp. 1992, 1995 
      FUNCTION =
          The table management scatter table holds pointers to
          directory elements for use by the Table Manager Program.
          TMASKTx in the table management static storage area holds
          the address of this area.
      LIFETIME =
          It exists for the duration of the CICS System.
          Storage for the scatter table (for each CICS table supported
          by the table manager) is allocated at CICS initialisation.
          However, the table manager reserves the right to dynamically
          rehash a scatter table when TMCOUNT (the number of table
          entries) is greater than or equal to TMTRIGR (triger value
          for rehash). During rehash, storage (above the 16M line) is
          acquired for the new hash table, and storage used by the old
          hash table is released.
      STORAGE CLASS =
          Shared storage above the 16M line.
      LOCATION =
          Pointed to by TMASKTx in the table manager static storage.
      INNER CONTROL BLOCKS = None.
      NOTES :
       DEPENDENCIES = S/370
       RESTRICTIONS = None.
       MODULE TYPE = Control block definition
     ------------------------------------------------------------------
      EXTERNAL REFERENCES = None.
        DATA AREAS = None.
        CONTROL BLOCKS = None.
        GLOBAL VARIABLES (Macro pass) = None.
     ------------------------------------------------------------------
Table 1.
Offset Hex Type Len Name (Dim) Description
(0) STRUCTURE * SKTTBLE Scatter table
         Standard header
(0) CHARACTER 20 SKTHDR Standard header
(0) FULLWORD 4 SKTLNTH Total length of table
(4) CHARACTER 1 SKTARRW Eye-catcher part 1: >
(5) CHARACTER 3 SKTDFH Eye-catcher part 2: DFH
(8) CHARACTER 2 SKTTM Eye-catcher part 3: TM
(A) CHARACTER 8 SKTEYEC Block id: 'SCATTER '
(12) HALFWORD 2 * Reserved
         Scatter table information
(14) CHARACTER 28 SKTINFO Scatter table information
(14) BIT(8) 1 SKTFLAG1 Flag byte 1
(14) 1... ....   SKTNUEA Non-unique entries allowed
(14) .111 1111   * Reserved
(15) BIT(8) 1 SKTFLAG2 Flag byte 2
(15) BIT(8) 1 * Reserved
(16) UNSIGNED 1 SKTTTC Table type code
(17) UNSIGNED 1 SKTTTCP Table type code for primary
(18) HALFWORD 2 SKTDELN Directory entry length
(1A) HALFWORD 2 SKTKEYLN Length of key
(1C) FULLWORD 4 SKTMAXN Maximum number of entries
(20) ADDRESS 4 SKTDIRSA First directory segment ptr
(24) ADDRESS 4 SKTFDEA First directory element ptr
(28) ADDRESS 4 SKTFRDE First free dir element ptr
(2C) FULLWORD 4 SKTNUMDS # directory segments
(30) CHARACTER 16 SKTRANGE GetNext Range-Table
(30) FULLWORD 4 SKTRNG_NUM Number of ranges
(34) ADDRESS 4 SKTRNG_ADDR Address of Range Table
(38) FULLWORD 4 SKTRNG_SIZE optimal size of rngs
(3C) FULLWORD 4 SKTRNG_USED Num of slots in use
         Scatter table pointers
(40) ADDRESS 4 SKTDIREA (*) Hash table ptr to dir elems
         Range table pointers
Table 2.
Offset Hex Type Len Name (Dim) Description
(0) STRUCTURE * SKTRANGES Range Table
(0) CHARACTER 8 SKTRNG_HEAD Buffer to spot errors
(8) CHARACTER 8 SKTRNGE (*) Get Next Range Table
(8) FULLWORD 4 SKTRNG_COUNT Num of elems in rng-1
(C) ADDRESS 4 SKTRNG_PTR Pointer to rng start