The AREAS command prints the contents of memory areas. The command enables you to specify the areas of the dump to analyze and the information to be displayed.
Syntax
┌◄─────────────────────────────────────────┐ ── AREAS ─┴─┬──────────────────────────────────────┬─┴─────────────────► ├─ AVAIL ──────────────────────────────┤ ├─ DATA ───────────────────────────────┤ ├─ CODE ───────────────────────────────┤ ├─/1\─ SIZE ──<number>─────────────────┤ ├─/1\─ SPACEUSAGE ──<spaceusage field>─┤ └─/1\─ RANGE ──<multiple address>──────┘ ►─<output selection>───────────────────────────────────────────────────┤
<output selection>
┌◄───────────────────┐ ──┴─/3\─┬─ CONTENTS ─┬─┴───────────────────────────────────────────────┤ ├─ LINKS ────┤ └─ STATS ────┘
<spaceusage field>
──┬─ BUFFERHEADER ───────┬─────────────────────────────────────────────┤ ├─ CODEAREA ───────────┤ ├─ DCCMESSAGEAREA ─────┤ ├─ DIRECTIOBUFF ───────┤ ├─ DIRECTIOBUFFTOBE ───┤ ├─ DETACHEDSEG ────────┤ ├─ DIRTYAREA ──────────┤ ├─ DIRTYSEG ───────────┤ ├─ DOPEOREVENTAREA ────┤ ├─ DOPEVECT ───────────┤ ├─ EVENTAR ────────────┤ ├─ EVENTCONTAINERAREA ─┤ ├─ EVENTMESSAGEAREA ───┤ ├─ EVENTSEG ───────────┤ ├─ EVSTATEAREA ────────┤ ├─ FIBMARK ────────────┤ ├─ HEAPDOPE ───────────┤ ├─ ICMMARK ────────────┤ ├─ INSTACKAREA ────────┤ ├─ IOCBAREA ───────────┤ ├─ IOCDAREA ───────────┤ ├─ IOCBMESSAGEAREA ────┤ ├─ LOGICALIOBUFF ──────┤ ├─ LOGICALIOMSGAREA ───┤ ├─ MCBAREA ────────────┤ ├─ MESSAGEAREA ────────┤ ├─ MULTIAREABUFFER ────┤ ├─ NORMALAREA ─────────┤ ├─ PERMSAVEAREA ───────┤ ├─ PIBMARK ────────────┤ ├─ POISONEDSEG ────────┤ ├─ RESERVEAREA ────────┤ ├─ RESERVEEVENTAREA ───┤ ├─ SEGDOPE ────────────┤ ├─ SEGSEG ─────────────┤ ├─ SHADOWAREA ─────────┤ ├─ SHADOWSHAREDSEG ────┤ ├─ SHAREDDOPE ─────────┤ ├─ SHAREDSEG ──────────┤ ├─ SIBMARK ────────────┤ ├─ STACKMARK ──────────┤ ├─ STRUCTUREDAREA ─────┤ ├─ SUBSPACE_ARRAY ─────┤ └─ TABMARK ────────────┘
Explanation
The following text describes the meaning of each variable. Refer to “Basic Constructs” earlier in this section for information about the <number> and <multiple address> constructs.
<output selection>
Designate at least one of the following output selections:
Specify . . . |
To . . . |
---|---|
CONTENTS |
Display the contents of all the selected areas. |
LINKS |
Display the links of all the selected areas. |
STATS |
Collect statistics regarding the memory areas and their associated stacks. DUMPANALYZER produces a memory usage summary that contains these statistics. |
AREAS <output selection>
Analyzes all memory areas that contain data or code, or that are available.
AREAS AVAIL <output selection>
Analyzes all memory areas that are available.
AREAS DATA <output selection>
Analyzes all memory areas that contain data.
AREAS CODE <output selection>
Analyzes all memory areas that contain code segments.
AREAS SIZE <number> <output selection>
Analyzes all memory areas of the designated size.
AREAS SPACEUSAGE <spaceusage field> <output selection>
Analyzes all memory areas that contain the item designated in the spaceusage field.
SPACEUSAGE Field Items describes each spaceusage field item.
Table 10. SPACEUSAGE Field Items
AREAS RANGE <multiple address> <output selection>
Restricts the analysis of memory areas to the specified address range. Areas partially or completely in the desired range are analyzed. Refer to “Multiple Addresses” earlier in this section.
Example
The following example shows the output from the AREAS command.
INPUT: AREAS RANGE 2100 TO 5000 LINKS 000020F5 INUSE AREA DATA: LENGTH=01FB0(8112)MOM ADDR=0001B7A2 (THIS IS STACK 012) -------------------------(STACK) --------- LINKS: 6 E01FB4 000012 7 000000 000000 3 000000 000000 ... 3 E01FB4 000000 RESCODE_MEMORY 000040A9 INUSE AREA DATA: LENGTH=03D93(15763)MOM ADDR=0000293B (D[0] + 083B)-------------------------------(PERMSAVEAREA)--------- LINKS: 6 E03D97 0010D5 7 000000 000000 3 000000 000000 ... 3 E03D97 000000