It's been five, no six years since I worked with an app that did 5250 connection/scraping. I'm trying to recall the name. "Waiting for data ... please wait ...." is all I am getting out of the gray matter .
Seems it did something like the product shown at
http://www.legacy-integration.com.
Is this what you're looking for?