Microsoft KB Archive/10198

Incorrect Key Description

PSS ID Number: Q10198 Article last modified on 11-16-1992

1.07 1.10 1.12 MS-DOS

Problem: If an incorrect, Indexed file, key allocation is specified in the COBOL program, the error message “Divisor Zero” is generated at run time.

Response: The compiler has no way of knowing the file creation key length for existing files. Therefore, the compiler relies on the information provided at compilation. If this information is incorrect, results can be unpredictable.

Copyright Microsoft Corporation 1992.