COBOL Runtime Error Code – 047 Indexed structure overflow (Fatal) -The

In this post, you’ll learn about the COBOL runtime Error Code 047 and the reason why you are receiving it

COBOL Error Code :

047

Reason for this Error in COBOL

Indexed structure overflow (Fatal) -The structure of your indexed file contains a fault. You have probably tried to put another entry in the index when there is no room for it. Alternately, you have tried to access an old format indexed file, created perhaps using CIS COBOL. -If your index has no room for further entries you should reorganize your file. If you have tried to access an old format indexed file, you can run the Rebuild utility to check the consistency of this indexed file, and to construct a new indexed file if the old one was found to be corrupt. See your Programmer’s Guide to File Handling for details of the Rebuild utility.