Skip to main content

This article explains how to resolve an Index File Recovery Utility 24,02 COBOL I/O Error.

Problem:

When using the RM/COBOL Index File Recovery Utility with a large file, it can fail with a COBOL I/O Error 24,02. This error indicates that there is not enough room left to write to the file. How is this resolved?

Resolution:

This error is caused by the fact that the Index File Recovery Utility opens index files in binary sequential mode. Therefore, in order to resolve this issue, you will need to create a configuration file that enables the use of large sequential files (over 2 GB). The steps to create the configuration file are as follows:
  1. Create a text file named runcobol.cfg in the same directory as the Runtime executable (runcobol).
  2. Add the following configuration record: RUN-SEQ-FILES USE-LARGE-FILE-LOCK-LIMIT=YES
  3. Save the file.

The configuration file will be loaded automatically and will allow you to successfully recover your index file.

Incident Number: 2426541

Old KB# 14877