× 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.




On Tue, 2 Dec 2003 fkany@xxxxxxxxxxxxxxxxxx wrote:
>
> Is there a way to have a pop-up window display instructions, while an
> interactive program(not a batch program) is running in the background?
>

Yes.  In the DDS source for your screen, use the FRCDTA keyword.  This
causes the screen be displayed immediately.  (Normally, the output isn't
displayed until you request input, FRCDTA makes it display immediately)

Then, when you want the screen to appear, do a WRITE to the screen record.
That'll cause it to display the screen & return control to your program
immediately.  You can then do more processing while the user reads your
screen..

An alternative to using FRCDTA is the DFRWRT(*NO) option of the CRTDSPF
but I do NOT recommend using DFRWRT(*NO) for two reasons:

   1) Using DFRWRT you affect all records of the display file, instead
        of just the one you need.  That affects performance.

   2) You have to remember DFRWRT every time you compile the display,
        and everyone else who compiles it has to know as well. That
        makes maintenance more difficult.

You do not have either of these problems if you use FRCDTA.

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.