CROSSREF Manual

SCREEN COBOL
Sample Listing
Figure 11-2 shows the first page of the cross-reference listing.
This is the cross-reference file list. It lists the name of each
source file scanned. In this example, only one file, SCOBEX, was
scanned.
PAGE 1
CROSSREF - CROSS-REFERENCE PROGRAM - T9622C00 - (15JUL87)
Copyright Tandem Computers Incorporated 1982, 1983, 1984, 1985, 1986
FILE NO. FILE NAME
[1] $EM2.UCREF.SCOBEX
Figure 11-2. CROSSREF Listing--File List
The rest of the listing consists of the identifier list. See
Figure 11-3. The identifier list describes each identifier in
alphabetic order, showing:
• How it is defined (its attributes)
• Where it is defined (file name and number and line number)
• Where and how it is used in the program
Look at the entry for the identifier named ERR-WINDOW. The
identifier header indicates that it is a level-5 screen field,
which is part of the DRAGON-SCREEN screen. It is defined in the
file SCOBEX at line 92.
The reference line indicates that ERR-WINDOW is referenced in the
file SCOBEX at lines 103 and 188. Both of these references are
read referenced (indicated by code blank).
Now look at the entry for the identifier named INFO1. The
identifier header indicates that it is a level-1 alphanumeric
display item. It is defined at line 42.
The reference line indicates that INFO1 is referenced in the file
SCOBEX at lines 67, 107, 128, 192, 195, 198, 201, 204, 207, and
210. The reference at line 67 is a read reference indicated by
code blank. All other references are write references (indicated
by code W).
11-8