Microsoft KB Archive/39588

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

Networks Can Run Only One COBOL 3.0 SORT Process at Once

PSS ID Number: Q39588 Article last modified on 04-20-1993

3.00 3.00a | 3.00 3.00a MS-DOS | OS/2

The information in this article applies to:
- Microsoft COBOL for MS-DOS and OS/2, versions 3.0 and 3.0a

Summary: When the Microsoft COBOL version 3.0 or 3.0a SORT is used, COBOL writes a temporary sort file to the default directory of the default drive using a default filename. The name that your COBOL program can provide with the VALUE OF FILE-ID clause in the SD is not actually used as the temporary filename. Therefore, if a second networked process attempts to SORT any file in the same directory, both processes will attempt to use that same temporary filename. This will cause the second process to wait until the first process has completed its SORT. Earlier versions of the Microsoft COBOL Compiler use the VALUE OF FILE-ID clause correctly so that both processes can perform a SORT concurrently. Microsoft has confirmed this to be a problem in versions 3.0 and 3.0a. This problem was corrected in Microsoft COBOL Professional Development System version 4.0 for MS-DOS and MS OS/2.

Additional reference words: 3.00 3.00a Copyright Microsoft Corporation 1993.