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


  • Subject: Re: Screen Refresh
  • From: "Peter Dow" <pcdow@xxxxxxxxx>
  • Date: Fri, 21 Jan 2000 14:18:01 -0800

Title: RE: Screen Refresh
Isn't INVITE a record-level keyword?
----- Original Message -----
Sent: Friday, January 21, 2000 1:16 PM
Subject: RE: Screen Refresh

Sounds simple enough and the example in the CL programming manual SC41-5721-02    looks pretty basic but something's not working.  When I press Enter or any function key, it doesn't put anything in the data queue.

The display file was created w/ the DTAQ parameter and DFTWRT(*NO).
I've created the data queue prior to calling the program.
I write the screen - WRITE RECORD
Then, I call the QRCVDTAQ program to receive the data queue with a wait time of 120.
When I press Enter or any function key, it just stays at the screen and nothing happens until the 120 seconds expires.  Nothing gets put into the data queue either.

What am I missing?  I don't see if from the manual.  The only thing it mentions is INVITE but when I put that in at the file level, I receive an error message.

Dave

-----Original Message-----
From: Patrick Townsend [mailto:townsend@patownsend.com]
Sent: Friday, January 21, 2000 2:36 PM
To: MIDRANGE-L@midrange.com
Subject: Re: Screen Refresh



Yes. Override the display file to a data queue and then read the data
queue in your program. You can specify a timeout value for the data
queue. If the user presses Enter or a function key you will be able to
tell from the data queue contents and you can then read the display
file. If the data queue read length is zero you know it's timed out and
you can refresh the display or whatever.

Patrick
--
IBM AS/400 communications, FTP automation, and network security
software and consulting services.

http://www.patownsend.com

SHISHIRKSINGH wrote:
>
> Hi,
>
> Is there any way of refreshing the display screen (executing the loop again)
> if the user does not enter within some specified time say 2 minutes.
>
> TIA
> Shishir
> +---
> | This is the Midrange System Mailing List!
> | To submit a new message, send your mail to MIDRANGE-L@midrange.com.
> | To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com.
> | To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com.
> | Questions should be directed to the list owner/operator: david@midrange.com
> +---
+---
| This is the Midrange System Mailing List!
| To submit a new message, send your mail to MIDRANGE-L@midrange.com.
| To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com.
| To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: david@midrange.com
+---


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.