noft Manual (G06.27+, H06.03+, J06.03+)
noft Options
noft Manual—528273-003
3-35
LISTUNREFERENCED or LUR
LISTUNREFERENCED or LUR
The LISTUNREFERENCED or LUR option lists the undefined and unreferenced symbols
in a pTAL object code file. These symbols must be linked before the object code file
can be executed. (Compare this option with the option LISTUNRESOLVED or LU on
page 3-37.)
To find the functions in an object code file that are never referenced, use the option
XREFPROC or XP on page 3-54.
PROC
P
displays unreferenced procedures.
DATA
D
displays unreferenced data items.
*
displays all unreferenced items.
BRIEF
B
lists only the names and numbers of symbols. This is the default.
DETAIL
D
provides more information, such as the type of each symbol. For C++ functions,
DETAIL provides the “demangled” (original) names as well as the “mangled”
internal equivalents.
The pTAL program in Example 3-30 explicitly declares two external functions,
unresolved and unreferenced. The program also refers implicitly to the function
stop. The program uses the function unresolved, but does not use the function
unreferenced.
{ LISTUNREFERENCED | LUR } { PROC | P | DATA | D | * }
[ BRIEF | B | DETAIL | D ]