I am curious if it is possible to have a Display File with a clock that updates every second and you still can work on it interactively. Like a menu where you can choose programms and still having a clock on display that autorefreshes.
So far I have found this here:
https://www.ibm.com/support/pages/program-example-automatically-refreshing-screen-using-opm-rpg400
It is old and you cant have interactions while it refreshes. You have to wait until the loop is done before you can interact. When I put exfmt inside the loop, it refreshes once and not doing anything until there some presses enter obviously.
Any ideas how I could do it? Thanks.