DC396003 - socket error number documentation
search cancel

DC396003 - socket error number documentation

book

Article ID: 17902

calendar_today

Updated On:

Products

IDMS IDMS - Database

Issue/Introduction

Receiving the following error message:

DC396003 Vn Tnnn Socket error, function = RECV, errno = 1121, reason = 76650446

The socket errno and reason codes are not documented in the IDMS documentation.

Environment

Release: All supported releases.

Resolution

The socket return code "errno" and reason code "errnojr" in this message are documented in the z/OS UNIX System Services Messages and Codes.

The error codes can also be found in SYS1.MACLIB in member BPXYERNO.

In this example

Errno 1121 is ECONNRESET

Errnojr is 76650446

The first 4 bytes of the reason code identifies the module id or number - 7665.

The last 4 bytes of the reason code is the real reason code, in this case 0446 which means JRSocketConDropped, the socket connection was severed.
Action: The socket connection was dropped. Re-establish the socket connection.