Re: Error 167 from socket() call in CICS

2011-04-22 Thread David Crayford
On 22/04/2011 12:59 PM, Chris Mason wrote: John The *issue* here is that IBM - and possibly other vendors - when dealing with socket calls - that's socket calls in general not just the actual socket() call - just seem not to be comprehensive in documenting all possible return codes (errnos)

Re: Error 167 from socket() call in CICS

2011-04-22 Thread Jan MOEYERSONS
On Thu, 21 Apr 2011 13:49:14 -0700, John Weber j...@fiteq.com wrote: Hi, We are calling from z/OS CICS COBOL to a C program which is opening a socket to start a TCPIP connection and we got back error 167 from the socket () function call. Do you have TCPIP.SEZATCP in both your //DFHRPL and

Error 167 from socket() call in CICS

2011-04-21 Thread John Weber
Hi, We are calling from z/OS CICS COBOL to a C program which is opening a socket to start a TCPIP connection and we got back error 167 from the socket() function call. However, if we call from Batch to the same C program as above, the socket opens correctly. Three questions: 1. What does

Re: Error 167 from socket() call in CICS

2011-04-21 Thread Chris Mason
John The *issue* here is that IBM - and possibly other vendors - when dealing with socket calls - that's socket calls in general not just the actual socket() call - just seem not to be comprehensive in documenting all possible return codes (errnos) for each call. For some reason which must