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



Well, you can do a wait forever on a dataque, or you can wait some other amount 
of time.

There was a discussion about this this week.
Here is the start of the thread:
http://archive.midrange.com/rpg400-l/200207/msg00362.html

Here is a pertinent quote from a follow up:

The wait time is the maximum time you want to wait before timing out. When
entries are put on the data queue your program is notified immediately,
regardless of what the wait time is. You can tell if an entry was received
by checking the length field, as you do in your program. If it is zero then
the data queue timed out. BTW, if you don't want to time out at all, use a
wait time of  minus one (-1). Control won't be returned to your program
until something comes in on the data queue.

Albert York

Regards,

Jim Langston
Programmer/Analyst
NT Administrator
Cels Enterprises, Inc.
(310) 838-2103 x604


-----Original Message-----
From: Mark A. Manske [mailto:mmanske@minter-weisman.com]
<SNIP>
... The examples I looked over with dataq
at least appeared to wait on the dataq, then read the screen, and if nothing
was done, then do another read forever until the user entered something,
which
in my case would mean the system would shut down the sessions after 2 hours


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

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.