Microsoft KB Archive/21216

From BetaArchive Wiki

Setting the DOS “ERRORLEVEL” from within COBOL

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

2.00 2.10 2.20 MS-DOS

Summary: It is possible to set the DOS “ERRORLEVEL” from within MS-COBOL. The “EXCODE” extension subroutine was designed specifically for this use. For more information, please see the “Microsoft COBOL Compiler User’s Guide” Pages 39-40 and Pages 90-93.

Copyright Microsoft Corporation 1992.