Language Reference

CATALOG

Note the following items when using the CATALOG command with DEBUG ON.

￿The listing re￿ects the ordering and structure of what is physically in memory as opposed to what is indicated in the sorted table. Therefore, some understanding of how the memory manager manipulates, resizes, and moves around these memory blocks is sometimes needed to understand what is shown.

￿Rather than stepping down through the table, the listing uses pointers stored within each block to locate the next block. A successful catalog listing veri￿es that the pointers are all correct.

￿The size represents the entire size of the block (as calculated from the internal pointers), not just the user data area. A block includes the above-mentioned pointers, the name, the data type, and so on.

￿Instead of showing the data type, the block's status as used by the memory manager is displayed. Refer to the List of <￿le status> Letter Descriptions above.

￿Normally the garbage collection routine is run before a catalog listing is displayed. This is not done when DEBUG is turned ON.

Query Response

With DEBUG OFF, the output is as follows:

0917504,0914480

total mem, avail mem

CONFIG,CONFIG,0005992

￿lename ,￿letype,￿lesize

LARGEST,LARGEST,0911438

 

FOO,FUNC

00011

 

FRED,VAR

00008

 

With DEBUG ON, the output is as follows:

0917504,0914480 CONFIG,CONFIG, 0005992 LARGEST,LARGEST,0911438

,AG 00042

FOO,G 000040

FRED,G 000056

7-90