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:
- Find the CSA.
- Find the CSA optional features list, CSAOPFL, from its address in field CSAOPFLA (offset X'C8') in the CSA.
- Find the static storage area address list (SSA) from its address in field CSASSA (offset X'1C0') in the CSAOPFL.
- Find the table manager static storage area (TMS) from its address in field SSATMP (offset X'14') in the SSA.
- 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:
TMASKT1 Reserved TMASKT2 Reserved TMASKT3 Reserved TMASKT4 Address of profile table (PFT) entries TMASKT5 Address of file table (FCT) entries TMASKT6 Address of destination control table (DCT) entries for transient data queues TMASKT7 Address of local terminal (TCTE) entries TMASKT8 Address of remote terminal and connection (TCNT) entries TMASKT9 Address of local connection (TCTS) entries TMASKT10 Reserved TMASKT11 Address of DSN TMASKT12 Address of DSNA TMASKT13 Address of partner resource table (PRT) entries TMASKT14 Reserved TMASKT15 Address of local terminal NETNAME table (TCNT) entries TMASKT16 Address of autoinstall terminal model (AITM) table entries TMASKT17 Address of signon table (SNT) entries TMASKT18 Address of session (TCSE) entries TMASKT19 Address of remote connection (TCSR) entries (secondary index) TMASKT20 Address of indirect connection (TCSI) entries (secondary index) TMASKT21 Address of connection NETNAME entries (TCSN) (secondary index) TMASKT22 Address of remote terminal (TCTR) entries (secondary index) TMASKT23 Address of generic connection NETNAME entries (TCSM) (secondary index) TMASKT24 Address of remote terminal NETNAME (TCNR) entries (secondary index) Use the following formula to find the offset of the individual scatter table:
Where n = position in the table (for example, TMASKTn)Length(TMATTV) * (n-1) + X'08'To find Length(TMATTV) (and the value of n) see Data areas.
- Find the first directory element from its address in field SKTFDEA (offset X'10') in the hash table area.
- Directory elements are chained together in alphabetic order. The address of the next element is in field DIRGNCHN (offset X'10').
- 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.