The Right DDS Combination

0 pts.
Tags:
AS/400
Printing
RPG
RPGLE
Hi All, I have been spinning my wheels and was hoping for help. I have a subfile where an option calls another RPG program that displays a window for data capture. When the user takes the same option against multiple records in the subfile the window appears the first time overlaying the subfile screen, but the second time the window displays over a blank screen, all subfile info has gone. I know it is trivial but is ugly to work with. What combination do I need to retain the background subfile info when the window is displayed the second time? I have tried compile time options on the DDS for the subfile. The window program is OVERLAY with a blank record format with the ASSUME keyword. I have tried re-writing the subctl after each call to the window program but that didn't work either.. Any help would be greatly appreciated. Thanks, Rayden.
ASKED: May 15, 2006  5:27 PM
UPDATED: May 16, 2006  10:09 AM

Answer Wiki

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

we do this all of the time and I am familiar with your problem. Depending upon what you are doing, you will need to do one or more of the following:

a) change your dspf file to CHGDSPF xxxxx RSTDSP(*YES)

b) close and open the display file (USROPN option) when you start the program displaying the window (assuming you are not using INLR in this program; we do not use INLR on our window programs). Failure to do this might display a background to the window, but it will be an old version of the background.

Discuss This Question: 2  Replies

 
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
  • Jwebb901
    Try this: 1. Add a "DUMMY" format with the ASSUME keyword. 2. Remove ASSUME from your "REAL" format. 3. Create Your Display File with RSTDSP(*YES)
    0 pointsBadges:
    report
  • RaydenR
    Thanks to everyone for their contributions!
    0 pointsBadges:
    report

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