SORT Program Error
PSS ID Number: Q21185 Article last modified on 11-16-1992
2.00 2.10 2.20 MS-DOS
Summary: The 600-PROCESS-OUTPUT-FILE example on Page 378 of the “Microsoft COBOL Compiler Reference” manual does not work correctly. The 600-PROCESS-OUTPUT-FILE example should read as follows:
600-PROCESS-OUTPUT-FILE RETURN SORT-FILE RECORD INTO OUTPUT-RECORD AT END MOVE “Y” TO END-OF-OUTPUT-SW PERFORM 800-CONTROL TOTALS. IF NOT END-OF-OUTPUT PERFORM 700-PROCESS-OUTPUT-RECORD.
Copyright Microsoft Corporation 1992.