Hi 

 

I posted this yesterday on the TCP/IP listserv but in reality its more of
z/os multitasking issue

 

thanks 

From: Joseph Reichman <[email protected]> 
Sent: Wednesday, January 2, 2019 3:21 PM
To: 'IBM TCP/IP List' <[email protected]>
Subject: Concurrent Server Task Dispatch issue 

 

Hi

 

I have a concurrent server with four subtasks. I used the basic design from
section H a beginners guide to TCP/IP programming. One difference in mine.
The subtask(s) handle multiple I/O's

And there for they too have a SELECT API not for listening to incoming
connections but to handle reads on multiple sockets

 

Both the main Task and subtasks have multiple ECB waits. The Main Task
waits for on 2 ecbs 1) Select 2) Modify COMECBPT.

 

The problem I am having is with the modify command it works once and doesn't
work 5 times why because the main task hardly gets control.

 

Both the main and Subtasks have time out values so I can WTO a message when
there is a TIMEOUT I can see the WTO from subtask time out but not the main
it does pop up once in a while

 

I tried using CALLDISP on the subtask TIMEOUT  CHAP playing around with the
DPMOD and  LPMOD on the ATTACH but the best I could up with was having the
Modify command work once out of  5 times

 

Again from the WTO's at TIMEOUT on the select I can see when the subtask are
executing and the main task

 

Any Suggestions are appreciated

 

 

thanks           


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

Reply via email to