FORTRAN Reference Manual
Program Compilation
FORTRAN Reference Manual—528615-001
9-13
Code and Data Blocks MAP Listing
data blocks, and the symbolic name map. The maps are in addition to the entry point 
and data block maps that BINSERV provides after all compiler-generated output 
following the last program unit.
Code and Data Blocks MAP Listing
The MAP option provides a summary of the code and data blocks in the compiled 
program unit, showing the name of each block the program unit uses and the amount 
of memory space it occupies. The summary can help you determine each program 
unit’s contribution to the total code size, dynamic data space, and static data space 
requirements of the executable program. You can use this information, for example, to 
determine the optimal amounts for the DATAPAGES and LARGESTACK directives 
when the estimates made by the compiler are not sufficient.Example 9-2 shows the 
format of this map.
Symbolic Name MAP Listing
The MAP option provides a map of identifiers in alphabetic order. Unreferenced local 
variables are not listed in the map. FORTRAN does not allocate space for data items 
that your program does not reference. The map includes the names of unreferenced 
variables if you specify the PRINTSYM directive. Figure 9-3 shows the format for each 
line in the map:
Each identifier (symbolic name or statement label) in the MAP listing is further qualified 
by the following information:
Example 9-2. Compiler Listing—Code and Data Blocks MAP Listing
CODE AND DATA BLOCKS - Program MAIN^
BLOCK DESCRIPTION SIZE IN BYTES BLOCK NAME
Program unit executable code: 1392 MAIN^
Dynamically allocated local data: 40 Standard run-time stack
Statically allocated local data: 16 +MAIN^
Common data blocks: None
Figure 9-3. Compiler Listing—MAP Listing
VST0903.vsd
Identifier
Class
Type
Relative
Address
Block
Name
TAXCHG
150
VARIABLE
LABEL
REAL
L+014
77777
Mode
DORECT










