Problems in a self refreshing subfile

pts.
Tags:
RPG
RPGLE
I created a self refreshing subfile in rpg using data queue. Consider the scenario where i am typing a text on the screen and at that time some data arrives at the data queue. The control will come back to the program and process the record. All the text i have typed will be gone. Is there any ways by which we could retrieve that text?

Answer Wiki

Thanks. We'll let you know when a new response is added.

Have the first thing your program does when it takes control is save the current screen. Then you can add some logic to figure out if it needs to redisplay it or not.

Discuss This Question: 1  Reply

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
  • JPPLOU
    data queue works like a spool. So datas are not kept after it it is read. Why don't you write in a work file at the same time you write on data queue?
    135 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following