× 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 Wed, 2002-03-27 at 14:50, Phil wrote:
> The user has the option to select their refresh interval (there are minimums
> to keep the job from running out of control.)  I want to let the user select
> not to auto-refresh also.
>
> Has anyone coded this?  I am thinking of checking for a refresh = *zero, and
> to use exfmt instead of write.  Wondering if there is a better way.
>
> Phil

Hi Phil

I've done that in a CL routine - using a message subfile to display a
'subfile' on the screen :) - and just set the dataqueue wait to be
something really big. If you trap for the appropriate response in the
code (like in the example RPG I linked to) your code can tell if it was
the user or the dataqueue that triggered the return of control to the
program. 99999 seconds wait should get you over a day at least ;-)

Regards, Martin
--
martin@dbg400.net  jamaro@firstlinux.net  http://www.dbg400.net
/"\
DBG/400 - DataBase Generation utilities - AS/400 / iSeries Open        \
/
Source free test environment tools and others (file/spool/misc)
X
[this space for hire]  ASCII Ribbon Campaign against HTML mail & news  /
\



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
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.