----- 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 
+---