Hi Gad,
Generally , the first call will overlay the calling program's display. If there is a second call from the original calling program without an intervening write (refresh) of the calling program's display, the display will be erased. Make sure you specify OVERLAY in the overlaying display, and if there is a possibility of more than one call to an external program with display then refresh between calls.
__________________________________________________
Michael Steigman
i5 (AS/400) Programmer & Administrator Migdal Ha'Emeq
IT Israel
Information Technology
tel. +972 4 6447788
fax. +972 4 6447789
mobile +972 54 3000169
website www.Vishay.com
intranet intra.globalit.Vishay.com
Vishay Israel, Ltd.
Ramat Gabriel, P.O.B. 852, Migdal HaEmeq, 10500, Israel
__________________________________________________
-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Gad Miron
Sent: Sunday, 19 May, 2013 12:48
To: midrange-l@xxxxxxxxxxxx
Subject: Old fashion Green screen DSPFquestion
Hello guys
Hope some of the veterans here will be able to help with the following:
Pgm A with *DS4 SFL screen calls program B that displays a small *DS3 screen (DSPF B had a dummy *ASSUME record).
a CPF4169 is issued when DSPF B does not have a DSPSIZ(27 132 *DS4) line.
(curiously, when removing the *ASSUM dummy record no CPF is issued)
After changing DSPF B to DSPSIZ(24 80 *DS3 27 132 *DS4) (and keeping the *ASSUME dummy record) no CPF4169 is issued.
But,
Program B clears the screen entirely
- no background screen of PGM A is left on the screen.
*ASSUME does not seems to help.
How do I configure the DSPFs so that PGM A screen does not get cleared and is displayed in the background ?
Thanks
Gad
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list To post a message email: MIDRANGE-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options,
visit:
http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at
http://archive.midrange.com/midrange-l.
As an Amazon Associate we earn from qualifying purchases.