HP (Hewlett-Packard) HP 3000 Laptop User Manual


 
Chapter 6 523
Command Definitions P-R
RUN
The load map for a native mode program or library is a listing that describes the spaces
loaded for a process and the linkages used to connect the external references of the process.
When the lmap option is selected at run time, the listing is produced for the program and
for each library specified by the user.
The load map is organized into two major areas: the SOM's Description area, with one per
loaded SOM, and the Process Data Dictionary area.
Each SOM Description Area has six sections:
The name section.
The locality name section.
The export code symbols section.
The import code symbols section.
The export data symbols section.
The import data symbols section.
The above description is true for the program file and all user-supplied library files, but not
for the subsystem library XL.PUB.SYS. The SOMs loaded from the subsystem library are
now displayed in the load map. However, only the name section is written except for
subsystem SOMs that have Shared Globals, in which case the export and import data
symbols sections are written to the load map.
SOM Description area
Name Section.
NM Program File : REALP.CMARTCLE.CICSNM
Module Name : REALS
FSN : 0
SOM : 0
LP : 240.40100000
DP : 240.41635000
Shared Data : YES
The first line of the load map from the name section displays the type of the file (program
or library) and the full name of the file. The title is followed by the module name of the
loaded SOM. The next grouping of items is the File Sequence Number (FSN) and the SOM
number. The FSN is the number given the file according to its location in the ordered list of
files presented to the loader. Starting with the number zero, which is assigned the program
file, each user library is given the next number as it is encountered in the binding
sequence. SOMs are numbered according to their position in the library file. This value is
given by the Link Editor and read by the Loader.
The FSN and SOM number are useful when using the Process Data Dictionary area of the
load map. They identify the file and SOM to which the data export belongs.
The next grouping is the LP and DP. The LP is the pointer to the Cross Reference Table
(XRT), which contains the plabels for external procedure calls for this module. The DP is
the pointer to the Static Global Data area for this module. The notation used for an
address has the form: sid.offset.