|
Hello, I have something strange with the background in display files. Situation: Pgm A with Dspf A fires a routine in srvpgm B with Dspf B which contains definitions for a subfile window. This routine displays a subfile window (with OVERLAY keword) in which the user can make a selection. After making the selection the window is removed from the screen by a write to record RMVWDW with keywords CLRL(*NO) OVERLAY and the original screen is restored. I created with *RSTDSP *YES, I have an ASSUME keyword in the dspf. So far so good. But when Pgm A calls the Srvpgm B routine again (Dspf B hasn't been closed in the meantime), on the underlying screen it will show the content that was saved in the first call to the Srvpgm B. Although I can work around the problem by defining usropn in Srvpgm B for Dspf B and do open/close explicitly, I would like to know if there are other solutions. Has someone experience with this behaviour? Thanks, Arco Simonse DISCLAIMER: This message contains information that may be privileged or confidential and is the property of C.Meijer B.V. It is intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorized to read, print, retain, copy,disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message. This footnote also confirms that this email message has been swept by the presence of computer viruses
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 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.