CROSSREF Manual

SCREEN COBOL
Sample Listing
SAMPLE LISTING
The following example starts CROSSREF, scans the file named
SCOBEX, 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 scobolx
&SCAN scobex
&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 11-1 shows the SCREEN COBOL program that CROSSREF scanned
to produce the cross-reference listing.
11-3