COBOL Runtime Error Code – 102 Sequential file with non-integral number

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

COBOL Error Code :

102

Reason for this Error in COBOL

Sequential file with non-integral number of records (Fatal) -You have either specified an incorrect record length for a sequential file, or the sequential file you are trying to access is corrupt in some way, or the file which you have specified is not a sequential file. -Recode your program so that it specifies the correct type of file, or if the error is the result of a corrupt file, try to run the program again using a backup copy of that file.