During program debug, noticed that the READ or CHAIN statement was skipped and not executed in my RPG/Free program. The DELETE statement after the READ or CHAIN then hits an error "Update or Delete in file without prior input operation".
Did not hit this error with the same program written in traditional format.
What caused the READ or CHAIN statement to be skipped in the free format?
Free Guide: Managing storage for virtual environments
Complete a brief survey to get a complimentary 70-page whitepaper featuring the best methods and solutions for your virtual environment, as well as hypervisor-specific management advice from TechTarget experts. Don’t miss out on this exclusive content!