In this post, you’ll learn about the COBOL runtime Error Code 146 and the reason why you are receiving it
COBOL Error Code :
146
Reason for this Error in COBOL
No current record defined for sequential read (Recoverable) -The file position indicator in your file is undefined owing to a failed read/START or INVALID KEY condition. You have tried to read another record in the file but as the current record is undefined the system cannot find the start of the record for which you have asked. -You should try a START operation, and continue to do so until the file position indicator is updated successfully.
Leave a Reply