I am doing an auto refresh. To do this, I created my display file using waitrcd(15), used maxdev(*file) for my workstn file and instead of using exfmt, I turned on the indicator which controls my INVITE, wrote to my subfile control record ,read from my display file and then turned my INVITE indicator off. I then checked the value of my *STATUS field to see if my WAIT time had expired.This is working beautifully except when it refreshes, it goes back to the 1st screen. I've tried using SFLRCDNBR and SFLCSRRRN but they don't work. My guess is it's because I'm not doing an EXFMT. How do I get it to stay on the same page when auto refreshing?
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!