noft Manual (G06.26+)
Table Of Contents
- What’s New in This Manual
- About This Manual
- 1 Introduction
- 2 noft Utility
- 3 noft Options
- Break Key
- ! (Exclamation Point)
- CD
- COMMENT
- DUMPADDRESS or DA
- DUMPOFFSET or DO
- DUMPPROC or DP
- DYNSTR2
- ENV
- EXIT or E
- FC
- FILE or F
- HELP or ?
- HISTORY or H
- LAYOUT
- LIBLIST
- LISTATTRIBUTE or LA
- LISTCOMPILERS or LC
- LISTOPTIMIZE or LO
- LISTPROC or LP
- LISTSOURCE or LS
- LISTSRLEXPORTS or LLE
- LISTSRLFIXUPS or LLF
- LISTSRLINFO or LLI
- LISTUNREFERENCED or LUR
- LISTUNRESOLVED or LU
- LOG
- OBEY
- OUT
- QUIT or Q
- RESET
- SET
- SHOW
- SYSTEM or VOLUME
- XREFPROC or XP
- 4 noft Diagnostic Messages
- 5 ar Utility
- 6 ar Diagnostic Messages
- A Sample nld and noft Session
- B Converting From Binder to noft
- C Native Object File Structure
- Glossary
- Index

noft Options
noft Manual—528273-001
3-34
LISTUNREFERENCED or LUR
The pTAL program in Example 3-27 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.
If the program in Example 3-27 is compiled and made executable and the program file
is designated to noft with the option FILE or F on page 3-16, Example 3-28 shows the
result of the LISTUNREFERENCED option. Compare Example 3-28 to Example 3-33 on
page 3-38, which shows the result of the LISTUNRESOLVED option.
Example 3-27. pTAL Program for Example 3-28 and Example 3-33
INT proc unresolved (arg); ! Function definition
INT arg;
EXTERNAL;
INT proc unreferenced (arg); ! Function definition
INT arg;
EXTERNAL;
INT proc unused (arg);
INT arg;
BEGIN
RETURN (arg + 2);
END;
PROC mainstreet MAIN;
BEGIN
INT i, j;
i := 5;
j := unresolved(i);
END; !Implicit call to stop
Example 3-28. LISTUNREFERENCED Option for Example 3-27 pTAL Program
noft> listunreferenced *
# Unreferenced Name
1 UNREFERENCED