COBOL Runtime Error Code – 003 Serial mode error (Recoverable) -You hav

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

COBOL Error Code :

003

Reason for this Error in COBOL

Serial mode error (Recoverable) -You have tried to open a device as a relative or indexed file. You are trying to execute a device, not a program. -Open the device in the correct mode or close any open files, do STOP RUN and recode your program. The name of your program is recognized by the operating system as a valid device. Rename your program.