<[EMAIL PROTECTED]> wrote in message news:<[EMAIL PROTECTED]>. .. > I have this LPAR that has 3 CPUs on it. I also have a program that > wants > to fire off, say 8 tasks. I fire off the first 3 with an ATTACH. I > can wait on > them with a WAIT 3,ECBLIST=etc > > However, that construct will put my main program (parent task) to > sleep > until all the (child) tasks come back. > > What I really want to do, is to, once any one of the child tasks > finishes, > to fire up a new task immediatly. > > Any thoughts or suggestions will be appreciated. > > Thanks
Have a look at the EVENTS macro, this will do what you want. Kees. ********************************************************************** For information, services and offers, please visit our web site: http://www.klm.com. This e-mail and any attachment may contain confidential and privileged material intended for the addressee only. If you are not the addressee, you are notified that no part of the e-mail or any attachment may be disclosed, copied or distributed, and that any other action related to this e-mail or attachment is strictly prohibited, and may be unlawful. If you have received this e-mail by error, please notify the sender immediately by return e-mail, and delete this message. Koninklijke Luchtvaart Maatschappij NV (KLM), its subsidiaries and/or its employees shall not be liable for the incorrect or incomplete transmission of this e-mail or any attachments, nor responsible for any delay in receipt. Koninklijke Luchtvaart Maatschappij N.V. (also known as KLM Royal Dutch Airlines) is registered in Amstelveen, The Netherlands, with registered number 33014286 ********************************************************************** ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html

