Checkout WAKEUP.  It does that and more.

____________________________ 
Jim Hughes
603-271-5586
"Its kind of fun to do the impossible." (Walt Disney)


=>-----Original Message-----
=>From: The IBM z/VM Operating System [mailto:[EMAIL PROTECTED]
On
=>Behalf Of Wakser, David
=>Sent: Tuesday, July 01, 2008 10:10 AM
=>To: IBMVM@LISTSERV.UARK.EDU
=>Subject: Best method
=>
=>All:
=>
=>      What is the best method to code, for a SVM, a wait for a file to
=>arrive in its reader?
=>
=>      I have a (very old) EXEC that has a "do forever" loop with a
=>"EXECIO * CP (STEM" aa. "STRING CP Q RDR * ALL" command followed by a
=>SLEEP when no files are found. Is there a better method of "waking up"
=>an EXEC when a RDR file arrives?
=>
=>      Thanks, in advance.
=>
=>David Wakser

Reply via email to