SOCKET=CONNECT RETURN CODE=1128
search cancel

SOCKET=CONNECT RETURN CODE=1128

book

Article ID: 230039

calendar_today

Updated On:

Products

IDMS - Database

Issue/Introduction

Have a COBOL program in the CV that sends messages to a Java server on Windows.
It connects to the Java server and sends 10 messages and CLOSE the connection.
This processing is repetitive but after certain random number of repetitions, 
the CONNECT command comes back with the error below. 

Error : SOCKET=CONNECT RETURN CODE=1128  

 

Environment

Release : 19.0

Component : IDMS/DC

Resolution

From TCP/IP Error Codes doc:
For values 1-11999
The ERRNO is generated by the operating system. See the appropriate operating system documentation.

Based on the Return Code and description of the problem, most likely are exceeding the depth of the TCP/IP Socket queue. This can occur if the JAVA listener is not processing the queue as fast as the traffic coming in. Can attempt to increase the depth of the queue and see it this relieves the problem. This does not represent a problem in IDMS, rather it is standard socket behavior.