On 9/12/2010 1:42 AM, michealbutz wrote:
WTOR 'WAIT AND DON'T GIVE CONTROL TO ANOTHER TASK.',REPLY,1,RESPECB
So instead of doing a WAIT ECB=RESPECB AFTER THE WTOR
HARDLOOP DS 0H
TM RESBECB,X'40'
BNO HARDLOOP
All that does is to run up your CPU time, but does not keep the
dispatcher from letting other tasks run. If you want to run
without letting other tasks get control, you need an SMC
enqueue, and run as an authorized task, and even then that makes
sense in only in rare circumstances.
I think you may be better served by stating what you wish to
accomplish, rather than trying to force an answer.
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