Finding table entries in a partition dump

Figure 1 shows the relationship of the table manager control blocks. A general procedure for finding the required table entries in a partition dump is as follows:
  1. Find the CSA.
  2. Find the CSA optional features list, CSAOPFL, from its address in field CSAOPFLA (offset X'C8') in the CSA.
  3. Find the static storage area address list (SSA) from its address in field CSASSA (offset X'1C0') in the CSAOPFL.
  4. Find the table manager static storage area (TMS) from its address in field SSATMP (offset X'14') in the SSA.
  5. Look at TMS in Data areas. The fields TMASKT1 through TMASKT24 hold the addresses of the hash tables for various control blocks. Find the hash table for the control block you are interested in:
    Use the following formula to find the offset of the individual scatter table:
        Length(TMATTV) * (n-1) + X'08'
    Where n = position in the table (for example, TMASKTn)

    To find Length(TMATTV) (and the value of n) see Data areas.

  6. Find the first directory element from its address in field SKTFDEA (offset X'10') in the hash table area.
  7. Directory elements are chained together in alphabetic order. The address of the next element is in field DIRGNCHN (offset X'10').
  8. Look at each directory element until you find the name of the control block you are looking for. The name is in field DIRKEY (offset X'18'). Field DIRTEA (offset X'0') holds the address of the intended control block.


dfhs3c00974.html | Timestamp icon Last updated: Monday, 5 June 2017