COBOL Runtime Error Code – 226 EXTERNAL file definition inconsistent -T

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

COBOL Error Code :

226

Reason for this Error in COBOL

EXTERNAL file definition inconsistent -Two or more programs define the same external file but with different formats. For example, maximum and minimum record lengths might be different. -Ensure that all of your programs define the external file with the same format so that they are consistent. It is useful to have the file definition in a COPY file.

%d bloggers like this: