COBOL Manual for TNS/E Programs (H06.03+)
Creating and Compiling HP COBOL Source
Programs
HP COBOL Manual for TNS/E Programs—520347-003
22-47
Symbol Table Listing
Symbol Table Listing
The compiler lists the symbol table if you explicitly request it with the MAP directive.
The symbol table lists, in alphabetic order, each identifier in the program. For each
identifier, the listing shows:
•
The group(s) of which it is a member
•
The type of entity it identifies (its level number)
•
The address (including possible offset) with which it is associated
•
The size of the entity it identifies, if applicable
•
The category of the entity it identifies (such as numeric or alphanumeric)
•
The usage of the entity it identifies (such as COMPUTATIONAL or DISPLAY)
Most identifiers in a program identify data items. Example 22-19 shows a few lines of a
symbol table listing of the program in Example 14-14 on page 14-22.
Symbolic Code Listing
The compiler lists the instructions of the object program in symbolic (mnemonic) form
after each source statement if you explicitly request it with the INNERLIST directive
(see Example 22-20).
Example 22-19. Symbol Table Listing
Example 22-19. Symbol Table Listing
...
CPU 05 NM COMP OF CPU-PIN
H"0 H"2
CPU-PIN 01 AN GROUP
H"0 H"8
CREATOR-ACCESSOR-ID 01 NM COMP
H"0 H"2
CREATOR-EDITED 01 AN GROUP
H"0 H"15
CREATOR-GROUP 05 NME DISPLY OF CREATOR-EDITED
H"6 H"3
CREATOR-MEMBER 05 NME DISPLY OF CREATOR-EDITED
H"12 H"3
ERROR-RETURN 01 NM DISPLY
H"0 H"2
EXPLAIN-MYSELF PARAGRAPH
H"0 H"0
HOME-TERMINAL 01 AN DISPLY
H"0 H"18
HOME-TERMINAL-LEN 01 NM NATIVE
H"0 H"2
LEFT-BYTE 05 AN DISPLY OF CONSECUTIVE-BYTES
H"0 H"1
...
Note. In a symbolic code listing for a very large program, lines at the end of the program have
asterisks in place of line numbers.










