CROSSREF Manual

COBOL 74
Sample Listing
SAMPLE LISTING
The following example invokes CROSSREF, scans the file named
COBEX, and generates a listing to $s.#lp:
14> CROSSREF
CROSSREF-CROSS-REFERENCE PROGRAM-T9622C00-(15JUL87)
Copyright Tandem Computers Incorporated 1982, 1983, 1985, 1986
&SET LANGUAGE cobol
&SCAN cobex
&GENERATE /OUT $s.#lp/
&EXIT
15>
On the following pages, you can see the program and its cross-
reference listing. The listing includes all identifier classes
except literals.
Figure 6-1 shows the COBOL 74 program that CROSSREF scanned to
produce the cross-reference listing.
6-4