COBOL Runtime Error Code – 068 Record locked (Recoverable) -You have tr

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

COBOL Error Code :

068

Reason for this Error in COBOL

Record locked (Recoverable) -You have tried to access a record which is currently locked by another user. -Your program can inform the system operator (if there is one) that the record is currently locked, and you should then wait until the other user has released the lock on that record. You should then be able to access the relevant record. You should not continually retry to gain access to the record without operator intervention, as this could result in your application hanging.