Ron, Does sound like a bug, but no doubt a complaint to IBM will elicit the (in)famous "working as designed" reply. :-) I'm really guessing here so this could be totally out to lunch, but it sounds like what may be happening is when you first return to program A the screen is "restored", but a buffer is cleared, and when you call program C the RSTDSP keyword now saves a blank buffer to restore when you return from program C. If you wrote a display for program A before the call to program C (maybe some dummy display format that writes a line at the bottom of the screen or something) it probably works fine (maybe this is the workaround you used ?). I assume you've tried RSTDSP on all screens for programs A, B & C and it made no difference ? Have you tried putting all display formats for programs A, B & C into one display file, and using the same display file for all 3 programs ? (SHARE(*YES) may be necessary on the display file). ...Neil "Ron Hawkins" <email@example.com> Sent by: firstname.lastname@example.org 2001/01/11 18:27 Please respond to MIDRANGE-L To: <MIDRANGE-L@midrange.com> cc: Subject: RE: RSTDSP NOT WORKING Neil, Yeah, the first program has restore display yes. The problem is this: Program A calls Program B which displays a window over the screen displayed in Program A. Everything works fine. End Program B and return to Program A without redisplaying the screen. If you then call Program C to display another window, it will do so over a blank screen. This is because the screen was not restored when returning to Program A. Ron +--- | This is the Midrange System Mailing List! | To submit a new message, send your mail to MIDRANGE-L@midrange.com. | To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com. | To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com. | Questions should be directed to the list owner/operator: email@example.com +--- +--- | This is the Midrange System Mailing List! | To submit a new message, send your mail to MIDRANGE-L@midrange.com. | To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com. | To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com. | Questions should be directed to the list owner/operator: firstname.lastname@example.org +---
As an Amazon Associate we earn from qualifying purchases.
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.