Using the write op code to display a window in RPG

pts.
Tags:
Application development
I am trying to create a program where a window will display to the user informing them that the current processing could take some time. The window should display and not require a repsonse from the user to continue on with processing. This window will be informational only. I have tried using the write command, but my window does not display. The command is processed (in debug) and the program continues without user intervention, but the window does not display. However, when I use the EXFMT op code the window does display, but the user must responsd so that the processing can continue. I do not understand why the write is not working as I expected. Has anyone run into this before?

Answer Wiki

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

When doing the Write for the window, you must make sure that you have used the OVERLAY keyword in the record format of the window description, otherwise the window will not display. Another thing to add on the DSPF is a dummy record like following :
A R DUMMY ASSUME
A 1 2′ ‘
The assume keyword is needed to force the window to display, but must never be used in the program – it’s only for compilation in the program that it need to exist.

Discuss This Question:  

 
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

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