COBOL Runtime Error Code – 017 Record error: probably zero length (Reco

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

COBOL Error Code :

017

Reason for this Error in COBOL

Record error: probably zero length (Recoverable) -You have probably tried to access a record that has had no value moved into it. -Although this error is recoverable in the sense that it can be trapped, once it has been reported you must execute a STOP RUN statement immediately and then recode your program to ensure that the COBOL record length is not zero.