IBM Support

Database operation failed. A SQL exception has occurred. The SQL error code is '-401'.

Troubleshooting


Problem

Database operation failed. A SQL exception has occurred. The SQL error code is '-401'. The SQL state is: 42818. The error message is: DB2 SQL Error: SQLCODE=-401, SQLSTATE=42818, SQLERRMC==, DRIVER=3.65.77

Symptom

An error is generated (an replication stops) when trying to replicate UPDATE or DELETE:

Database operation failed.
A SQL exception has occurred. The SQL error code is '-401'. The SQL state is: 42818. The error message is:
DB2 SQL Error: SQLCODE=-401, SQLSTATE=42818, SQLERRMC==, DRIVER=3.65.77



NOTE:
It has been confirmed that it is possible for such error to be generated on DB2 and Sybase databases.
It has not been confirmed that for other database engines.

[{"Product":{"code":"SSX3HK","label":"InfoSphere Change Data Capture"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Component":"--","Platform":[{"code":"PF002","label":"AIX"},{"code":"PF010","label":"HP-UX"},{"code":"PF016","label":"Linux"},{"code":"PF027","label":"Solaris"},{"code":"PF033","label":"Windows"},{"code":"PF035","label":"z\/OS"}],"Version":"6.5.2;6.5.1;6.5;6.3.1;10.2","Edition":"","Line of Business":{"code":"LOB76","label":"Data Platform"}}]

Log InLog in to view more of this document

This document has the abstract of a technical article that is available to authorized users once you have logged on. Please use Log in button above to access the full document. After log in, if you do not have the right authorization for this document, there will be instructions on what to do next.

Document Information

Modified date:
16 June 2018

UID

swg21650267