×

Good News Everybody!

The new search engine is LIVE!

Please report any problems to david (at) midrange.com.




Which display? The one in the called program or the one in the calling program?

Pete Helgren
Value Added Software, Inc
www.asaap.com
www.opensource4i.com


On 2/10/2011 2:02 PM, Morgan, Paul wrote:
Did you use RSTDSP(*YES) when compiling the display file?

Paul Morgan

Principal Programmer Analyst
IT Supply Chain/Replenishment


-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx [mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of Pete Helgren
Sent: Thursday, February 10, 2011 3:53 PM
To: RPG Midrange Discussion
Subject: Preserving display when calling a 'Prompt' program

I needed to add a prompt program to an existing 5250 display program. I
sorted out the function of the called program and managed to modify the
existing display program to call and display it, but when I return to
the calling program, most of the screen components are missing, having
been overwritten (presumably) by the called program display.

Seems to me that there is a way to do this but I can't remember what key
words and techniques need to be used so that when I prompt and display
the called program, the original program retains its screen display
components.

I haven't "retrofitted" a display program to do this before. What
modifications are needed in the calling program to retain the display
and is there anything I need to do in the called program to restore the
calling program display?

Thanks.


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2026 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.