CROSSREF Manual
SECTION 1
INTRODUCTION
WHAT IS CROSSREF?
CROSSREF is a tool that produces a cross-reference listing of
selected identifiers in your application program. CROSSREF
quickly reduces the time and effort required for program develop-
ment by answering such questions as:
• Where are the identifiers located and how are they used?
• Which statements, if any, will be affected if I change an
identifier?
• Which identifiers, if any, are declared but not used?
Identifiers can be data variables, statement labels, subprograms,
etc.
You can use this information to quickly and easily debug
or maintain your programs. For example, sometimes a program
mistakenly changes the value of a variable. The cross-reference
listing shows where the variable appears and how it is used in
the program, so you can easily find and fix the problem.
As another example, you might want to know where the transfer
occurs when program control passes to a label. The cross-
reference listing shows all locations in the program that use the
label as a GOTO target.
1-1