Microsoft KB Archive/21213

“Invalid Object Module” Error Using Wrong Linker in COBOL 2.x

PSS ID Number: Q21213 Article last modified on 11-16-1992

2.00 2.10 2.20 MS-DOS

Summary: The LINKer error message “Invalid Object Module” can occur when you attempt to link the MS COBOL Versions 2.x run-time executor with the assembler using a LINK.EXE file other than the one provided with MS COBOL. This error message can also occur for other reasons, as described in separate articles in the Microsoft KnowledgeBase. Query for the following: INVALID OBJECT MODULE COBOL. The MAKERUN.BAT batch file is used to link assembler routines to a new COBOL run-time executor in MS COBOL Versions 2.00, 2.10, and 2.20. The default run-time executor is RUNCOB.EXE, which is used to invoke compiled COBOL programs (which are .INT pseudo-code files).

Copyright Microsoft Corporation 1992.