Microsoft KB Archive/31197

Additional Run-Time Errors Not Documented in COBOL 2.1, 2.2

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

2.10 2.20 | 2.10 2.20 MS-DOS | XENIX

Summary: The following are three run-time errors not documented in Microsoft COBOL versions 2.1 and 2.2 for MS-DOS and for XENIX: 1. “Subroutine must be CALLed” This error occurs when a program with a USING list in its PROCEDURE DIVISION header has been invoked directly (runcob filename), rather than being CALLed from a COBOL program. Because the LINKAGE SECTION variables are undefined, this procedure is not allowed. 2. “CALL parameters mismatched” This error occurs when the number of elements in the USING list in a CALLed program’s PROCEDURE DIVISION header does not match the number of elements in the USING list of the CALL statement that CALLed the subroutine. 3. “No CRT driver” This error occurs when termcaps information required by COBOL for XENIX is not available. See your systems administrator for assistance.

Additional reference words: 2.10 2.20 Copyright Microsoft Corporation 1993.