Microsoft KB Archive/21184

From BetaArchive Wiki

SORT Program Error

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

2.00 2.10 2.20 MS-DOS

Summary: The example on Page 377 of the “Microsoft COBOL Compiler Reference” manual does not work correctly; the 300-PROCESS-INPUT-FILE should read as follows:

300-PROCESS-INPUT-FILE. READ INPUT-FILE NEXT RECORD INTO INPUT-RECORD AT END MOVE “Y” TO END-OF-INPUT-SW IF NOT END-OF-INPUT PERFORM 400-PROCESS-INPUT-RECORD.

Copyright Microsoft Corporation 1992.