Microsoft KB Archive/68054

DATACOMPRESS Directive, Correction for “4.0: Operating Guide”

PSS ID Number: Q68054 Article last modified on 01-09-1991

4.00 | 4.00 MS-DOS | OS/2

Summary: Page 17-16 of the “Microsoft COBOL 4.0: Operating Guide” incorrectly states the syntax of the data compression directive statement as follows: $set datacompress This incorrect statement should be changed to read as follows: $set datacompress“1” This correction applies to the sample program code on page 17-16 in Chapter 17 “File Handling on a Personal Computer” in the section titled “Saving Disk Space By File Compression.”

More Information: Detailed information about DATACOMPRESS and other compiler directives is found in Chapter 3 “Compiling” of the “Microsoft COBOL 4.0: Operating Guide.” See page 3-30, which correctly provides the DATACOMPRESS syntax with the integer in quotation marks with a value of one.

Copyright Microsoft Corporation 1991.