I read opt(options) in the subfile. If all the entered option is valid(i.e 1) then i have to write the record into PF else not. I read subfile by READC first till EOF.
then i set RRN=1 and then inorder to update again i use READC. but when it reach DOW NOT%EOF it come out of the loop. si i could not able to write the records. Could you please suggest right way to do the same.
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!