My RPG program displays a subfile listing various tasks in the upper half of a green screen and then if notes are found for any of the tasks, a second subfile is displayed in the bottom half of the screen.
Both subfiles are output only. I write the Fkey format, then write sfl1, then overlay sfl2. Once the loading is complete and the screen displays, the cursor remains on the first output field of sfl2.
The Fkey format is only for sfl1 and one of the functions is F10 to drop the sfl1 to see details about the tasks. This key works fine but in order to scroll sfl1, I need to move the cursor up to some portion of sfl1 first, then I can scroll down or up only once as the cursor jumps back to the first field of sfl2 as soon as I perform the scroll.
I would like to add a Fkey to switch between each sfl and keep the cursor on that sfl so it functions correctly. Is this possible and if so, how do I do it?
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!