COBOL Runtime Error Code – 213 Too many locks (Recoverable) -You have e

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

COBOL Error Code :

213

Reason for this Error in COBOL

Too many locks (Recoverable) -You have either tried to exceed the maximum number of simultaneous record locks per file you can have, or you have exhausted an operating system or network resource, for example dynamic memory. -Execute a COMMIT or an UNLOCK operation on the relevant file and you should then be able to continue to run your program. You should try not to retain a record lock for longer than is necessary.