COBOL Runtime Error Code – 139 Record length or key data inconsistency

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

COBOL Error Code :

139

Reason for this Error in COBOL

Record length or key data inconsistency (Recoverable) -A discrepancy exists between the length of a record, or the keys which you have specified, in your current program and its definition in the program in which it was first opened. -Your program has a fault, so you probably should edit your code, then resubmit it to your COBOL system before running it again.