Oh sure. The basic "wait for one of many." My code waits for an any one of
an operator command, a timer expiration, or "real work." 

My question was does anyone issue a wait with a completion count of more
than one? "Wake me when two of these five ECBs have been posted"?

Charles

-----Original Message-----
From: IBM Mainframe Discussion List [mailto:[email protected]] On
Behalf Of Peter Hunkeler
Sent: Sunday, June 19, 2016 9:03 AM
To: [email protected]
Subject: AW: WAIT >1 (Friday type question, a day late)

 

 
>I just had occasion to RTFM on WAIT. I'm sure WAIT with an event count 
>greater than one seemed like a terrific idea at the time, but has 
>anyone ever used it? What's an application for "wait for any two of 
>these five events to occur"?




I once wrote a utility that waits for either an MVS STOP command or until a
specified time interval has expired. It sets up the timer and the CIB, then
WAITs for one of the two events to happen.

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to