CROSSREF Manual
RUNNING CROSSREF
Multi-Language Program
(Section 4 describes the attribute specifications and the
available settings.)
3. After CROSSREF scans the COBOL file, change the language
attribute and customize the listing for the next file. This
file is a set of FORTRAN subprocedures named FPROCS:
&SET LANGUAGE fortran
4. Because this file contains only FORTRAN subprocedures with no
main procedure, set the unreferenced identifier flag to ON.
Otherwise, none of the subprocedures are listed.
&SET UNREF ON
5. Yet the subprocedure ERROR is called only by other FORTRAN
subprocedures, so exclude it from the listing:
&SET EXCLUDE ERROR
6. Tell CROSSREF to scan the FPROCS file:
&SCAN fprocs
7. Direct CROSSREF to generate a listing and print it to the
file named CSQUARE:
&GENERATE /OUT csquare/
If the file named CSQUARE does not exist, CROSSREF creates
it.
8. Finally, terminate the session by entering EXIT:
&EXIT
15>
2-7