I have an RPG program which prints data with the command DSPLY.
When I call the program,
I can see the printings which appears for a couple of milliseconds, but it closes right away.
Is there a way in native RPG to make the program wait for input other than using a display file?