Microsoft KB Archive/21466

Version 1.00 MS SORT Problems Corrected in Version 1.01 PSS ID Number: Q21466 Article last modified on 06-16-1988 PSS database name: B_SORT

1.00

MS-DOS

Summary: This article discusses corrections made to standalone SORT Version 1.00 to create SORT Version 1.01. In Standalone SORT Version 1.01, you can distinguish between formatted direct-file organization and unformatted direct-file organization. The records of any direct file are always of a fixed length. However, the records of a formatted direct file include a carriage return and a line feed at the end of each record. Standalone SORT treats files that have formatted-direct organization in the same manner that it treats files specified as having sequential organization, except for the effect of the pointers or tags options of the output statement. These options affect sequential and direct organization files differently. If “direct” is specified without “formatted” or “unformatted”, it is assumed to mean “unformatted,” thus having the same effect as SORT Version 1.00.

More Information: The following two problems have been corrected in Version 1.01:


 * 1) A problem that caused the default length of some keys to change when a file was LOADed from within another load file.
 * 2) If a SORT program line started with a number, it was assumed to be a line number and SORT ignored it. However, if the number was indented, SORT did not treat it as part of the program (i.e., SORT ignored it).

Copyright Microsoft Corporation 1988.