Microsoft KB Archive/21185

From BetaArchive Wiki
< Microsoft KB Archive
Revision as of 19:18, 12 August 2020 by X010 (talk | contribs) (X010 moved page Microsoft KB Archive/Q21185 to Microsoft KB Archive/21185 without leaving a redirect: Text replacement - "Microsoft KB Archive/Q" to "Microsoft KB Archive/")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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.