Microsoft KB Archive/40148

From BetaArchive Wiki

Compiler Must Make LST File for XREF to Make Cross Reference

PSS ID Number: Q40148 Article last modified on 04-20-1993

3.00 3.00a | 3.00 3.00a MS-DOS | OS/2

The information in this article applies to:
- Microsoft COBOL for MS-DOS and OS/2, versions 3.0 and 3.0a

Summary: Microsoft COBOL Versions 3.0 and 3.0a feature the ability to produce a cross reference for your COBOL programs by using the the XREF compiler directive. This may be specified on the command line or in the COBOL.DIR file. However, a list file must be specified from the COBOL compile command line, otherwise the cross reference will not be written to a file. The command line method would be as follows: COBOL cobprog /XREF, cobprog, cobprog.LST; You may also let the COBOL system prompt you for each filename by typing the following, without a final semi-colon: COBOL cobprog /XREF More information concerning the XREF compiler directive can be found in the “Microsoft COBOL Version 3.0: Operating Guide” on Page 2-55.

Additional reference words: 3.00 3.00a Copyright Microsoft Corporation 1993.