-30081   prot COMMUNICATIONS ERROR DETECTED. API=api, LOCATION=loc, FUNCTION=func, ERROR CODES=rc1 rc2 rc3

Explanation

A communications error was detected while communicating with a remote client or server.
prot
Identifies the communication protocol that encountered the error. Currently, 'TCP/IP' is the only possible value.
api
Identifies the communication application programming interface (API) used by DB2®. Currently, 'SOCKETS' is the only possible value.
loc
The network location of the partner system.

For TCP/IP partners, this field contains the IP address of the partner.

func
The communication function that failed.

For TCP/IP partners, this field identifies name of the socket call that failed.

rc1
The first return code indicator.

For TCP/IP partners, this field contains the TCP/IP return code in decimal format. The return code values are documented in z/OS UNIX System Services Messages and Codes or in z/OS Communications Server: IP and SNA Codes.

rc2
The second return code indicator.

For TCP/IP partners, this field contains the TCP/IP reason code in hexadecimal format. The reason code values are documented in z/OS UNIX System Services Messages and Codes or in z/OS Communications Server: IP and SNA Codes.

rc3
The third return code indicator.

For TCP/IP partners, this field contains zero.

System action

The statement is not executed. The application is disconnected from the server.

Programmer response

Consult with a communications expert to determine the cause of the communication failure.

SQLSTATE

08001