>  Lance wrote:
>
>  > Is there a way to have an interactive program submit
>  > something to batch and then wait for the batch job
>  > to finish before continuing?
>
>  Yes, and you can do it without having the batch job take any special action
>  such as sending messages, adding entries to a data queue, setting flags in
>  a data area and so on. When a submitted job ends either normally or
>  abnormally it automatically sends a completion message. By default the
>  message goes to the queue specified in the user profile of the job
>  submitter, but you can direct it to any message queue. Your interactive job
>  can then sit on a message queue wait until it receives the job completion
>  message. To simplify matters you might want to reserve a particular message
>  queue just for this function.

Thanks, Dave.  This is just what I was looking for.


As an Amazon Associate we earn from qualifying purchases.

This thread ...


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.