-20339 XML SCHEMA name IS NOT IN THE CORRECT STATE TO PERFORM OPERATION operation

Explanation

The operation operation cannot be performed on the XML schema identified by name because it is not in the correct state. For example, the XML schema has already been completed and the operation is attempting to add additional XML schema documents.

System action

operation is failed with this SQLCODE.

Programmer response

If the schema has not yet been completed, invoke SYSPROC. XSR_COMPLETE and try the operation again. If the schema has already been completed and needs to be updated, you must first remove it or register it using a different name.

SQLSTATE

55063