Topic
No replies
zosprog
zosprog
1 Post
ACCEPTED ANSWER

Pinned topic Listener and errno 113 (EBADF) on SELECT

‏2013-05-17T09:04:29Z |

We are running a sockets application using the supplied standard listener and (intermittently) receiving errno 113 (EBADF) on SELECT.

We have run a CTRACE with SOCKAPI option and we can see that the failing SELECT shows
 DIAG. RSN:  1120011Cx  
 ERRNO....:  113 (EBADF)
And shows a SUBTASK values of zeros (SUBTASK..00000000 00000000)

The corresponding TAKESOCKET also shows a SUBTASK values of zeros (SUBTASK..00000000 00000000) instead of the expected format of e.g. 0001234S.

Can someone explain why the SUBTASK might be set to this value?

Thanks,