Problem:
Resolution:
A COBOL 24, 02 error indicates that there is insufficient room left in the file for the operation. This behavior can occur when an index file has reached it's maximum size as defined by it's configured File Lock Limit.
In order to have the affected file grow larger, you will need to modify the exiting file's configured File Lock Limit, and possibly the Index File Version, using the Define Indexed File (rmdefinx) Utility.
If you would like all newly created files to be configured with a larger file limit, then, you will need to add the following keywords to your RM/COBOL Runtime Configuration file(*.cfg):
RUN-FILES-ATTR LARGE-FILE-LOCK-LIMIT=n
RUN-INDEX-FILES USE-LARGE-FILE-LOCK-LIMIT=YES
**Where, n, is the File Lock Limit as expressed in gigabytes(GB). The default is 512.
For more information on "File Lock Limit" and the Define Indexed File (rmdefinx) Utility, please see the RM/COBOL User's Guide. The RM/COBOL User's Guide is available on our website at:
http://supportline.microfocus.com/productdoc.aspx