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