Microsoft KB Archive/31883

“Invalid Object Module” LINKing COBOL .INT Files by Mistake

PSS ID Number: Q31883 Article last modified on 04-21-1993

2.00 2.10 2.20 MS-DOS

Summary: When you mistakenly try to LINK a compiled COBOL.INT file, the LINK.EXE program will give you an “Invalid Object Module” error. No LINK step is required for object files generated by Microsoft COBOL Versions 2.0, 2.1, and 2.2. You may run the .INT object files generated by the compiler directly with the RUNCOB.EXE run-time executor program. LINKing is necessary only when CALLing assembly language subprograms. The MAKERUN.BAT file, provided on the release disk, allows you to link assembly language subprograms to the RUNCOB.EXE run-time executor program, as described in the user’s guide.

Additional reference words: 2.00 2.10 2.20 Copyright Microsoft Corporation 1993.