-16266   AN SQL ERROR OCCURRED DURING DECOMPOSITION OF DOCUMENT docid WHILE ATTEMPTING TO INSERT DATA. INFORMATION RETURNED FOR THE ERROR INCLUDES SQLCODE sqlcode, SQLSTATE sqlstate, AND MESSAGE TOKENS token-list.

Explanation

An SQL error occurred during decomposition of an XML document with document identifier docid. The error occurred while attempting an SQL insert operation based on some piece of data from the XML document. Some possible causes: format of data is incompatible with the target column's data type; length of data exceeds column size; providing null value for a column defined as non-null. The sqlcode, sqlstate and message token list (each token is separated by the vertical bar character) are provided. The message tokens may be truncated. See the corresponding message for the sqlcode for further explanation of the error.

The XML document docid was not decomposed.

User response

Check the message associated with the SQLCODE. Follow the action suggested by that message. See db2diag.log for complete information about the error condition.

SQLSTATE

225DE