HP RPG/XL Programmer's Guide (30318-90001)

6- 12
Comments
ACTION This SYMBOL name is the name of a field. Other names
appearing in the SYMBOL column are names of table
items, array elements, subroutines and TAG operation
labels.
6 This is the length of the SYMBOL field, ACTION.
If the SYMBOL name is a numeric field, the number of
digits and decimals in the field are printed. For
example, 10.0 indicates that there are 10 digits and
no decimals.
If the SYMBOL name is a label for a TAG operation,
TAG appears in this column.
If the SYMBOL name is a subroutine name, SUBR
(subroutine) is printed.
000002a4 This is the starting memory location (in hexadecimal)
for the field, ACTION. It is relative to the
beginning of the run-time memory area for the
program.
Storage locations are printed for fields, table and
array elements. Storage locations are not printed
for SYMBOL names that are labels for TAG operations
or subroutines.
The last character in the ADDR column indicates
whether the SYMBOL name is a table or array. If the
SYMBOL name is a table, T is printed. If the SYMBOL
name is an array, A is printed. If the SYMBOL name
is not a table or array, this position is blank (see
LBL, for example).
The Cross-Reference Listing
The Cross-Reference listing shows each field, tag, indicator, subroutine,
table and array name along with each reference to it in the program. You
should request this listing when you're debugging a program.
You request the Cross-Reference listing using the Header Specification
(see "The Header Specification" in this chapter). You can select which
portions to cross-reference, if you like, by using the MAP and NOMAP
options of the $CONTROL statement (see "$CONTROL" in this chapter).
Figure 6-14 through Figure 6-16 show the three parts of a Cross-Reference
listing (the program used is the one shown in Figure 4-23). Figure 6-14
shows indicator references. Figure 6-15 shows field references and
Figure 6-16 shows file references.