You might need to post your full code so people can look at it to find the problem.

Tony Thigpen

Joseph Reichman wrote on 1/5/19 7:52 PM:
This is the situation both the main task and 4  sub tasks have selects after 
the time outs of the main task and subtasks I do wto
When I get a connection the main task posts a subtask to do a EZASMI read and 
write and  then go back to the select loop at this point I hardly see any WTOs 
from the main task time the modify command works about 1 out of 5 times



On Jan 5, 2019, at 7:14 PM, Brian Chapman <[email protected]> wrote:

1. Are you checking the COMM ECB after every wait? Even after a subtask
post the main task's ECB or any other ECB in your list? I've had problems
with subtasks posting the main task and not checking the COMM ECB after
servicing the subtask request and missing console commands.

2. Double check which ECB in your ECB list has the high order bit set. I've
added more ECBs in my list and forgot to move the high order bit flip.

On Jan 5, 2019 6:26 PM, "Joseph Reichman" <[email protected]> wrote:

First off it is being posted I saw a X’48’ in the first byte the operative
bit being the 4
I am doing the wto on timeout from both selects and the problem is that the
main task doesn’t get control

Thanks



On Jan 5, 2019, at 12:20 AM, Brian Westerman <
[email protected]> wrote:

When you test the ECB is anything being posted?  Is it possible that your
subtasks are actually sharing the ECBLIST for other use and they are
clearing it for you?

It would be interesting to have all of your tasks (main and sub) wto when
they are posted so that you can see where you are when the post happens.
Possibly you are in a subtask, it gets posted and that subtask sees that
it's not "his" data, so clears things and moves on.  I don't share the
ECBLIST between the main and subtask, so I'm not sure what happens if you
do, but it always seemed to me to be asking for trouble.

Brian

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

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

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

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



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

Reply via email to