On 9/12/2010 12:56 AM, michealbutz wrote:
In a multitask environment this would cause the dispatcher to
give control to another task while waiting for a operator
reply

Did somebody rewrite the Operating System while I wasn't looking? When you issue a valid WTOR, control is returned to your task (subject to normal dispatching considerations). The communications task will asynchronously issue the WTOR request to the appropriate console.

Is there some way of making sure that the dispatcher doesn't
give up control of the task that issued the WTOR and wait for
a reply

No, but I think you're confused. Nobody is forcing you to wait for a reply unless your program has a WAIT SVC. If you want to keep running, don't WAIT.

But if your intention is to keep running normally, with a WTOR response being optional, you should look at the MODIFY facility, that allows the operators to issue a command to your task without tying up a response number.



Gerhard Postpischil
Bradford, VT

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

Reply via email to