× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Matt,
      In this particular case there is no database activity so performance
is not a material issue.  However, I have other "PGMB"'s, for example,
generic comment management, where there is database activity.  Even here,
taken by itself, you could open and close files and applications all day
long with no performance issues.  But if it's not necessary then it seems
sloppy.
Thanks, Dave

David Keck
NBTY, Inc
Phone (631) 200-5809
DavidKeck@xxxxxxxx




David,
             Seeing that this is an interactive function, why not just let
PGMB
end with LR on?  I doubt the users will run PGMB enough times (in a day) to
create a performance issue, especially if it's just a prompt window (no
real
database IO).

             We have the exact same scenario.  We have a prompt window used
on
two different screens.  They may want to use it or may not.  We just end
the
second prompt program with LR on.

-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx [mailto:rpg400-l-bounces@xxxxxxxxxxxx]
On Behalf Of David Keck
Sent: Wednesday, August 31, 2005 5:01 PM
To: rpg400-l@xxxxxxxxxxxx
Subject: Stale Window Background



Here is my scenario.
1. PGMA displays SCREEN1, then calls PGMB.
2. PGMB displays a window.  User presses F3. PGMB returns leaving it's
display file open and LR off.
3. PGMA displays SCREEN2, then calls PGMB.
4. PGMB displays a window

In the above scenario, the background displayed upon execution of step 4 is
the same background as displayed in step 2.  This situation persists until
the display file in PGMB is closed.  Given that PGMA and PGMB must remain
distinct programs, is there a way to have the current background displayed
when PGMB displays it's window?  It seems kludgy to close PGMB's display
file every time it's called.  Below is the DDS for PGMB.


A                                      DSPSIZ(24 80 *DS3)
A                                      INDARA
A                                      PRINT
 *-------------------------------------------------------------------
A          R WINMSG
A                                      CF03(03)
A                                      CF12(12)
A                                      WINDOW(*DFT 5 50)
A            MSG1          50   O  1  1
A            MSG2          50   O  2  1
A            MSG3          50   O  3  1
A                                  4  1'Press Enter to Continue ...'
A                                      COLOR(BLU)
 *-------------------------------------------------------------------
A          R ASSUME
A                                      ASSUME
A            DUMMY          1      4 48

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

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

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.