Start of change

DSNU849I csect-name XML DOCUMENT WITH DOCID document-id IS NOT VALID AGAINST THE XML TYPE MODIFIER OF XML COLUMN column-name FOR TABLE creator-name.table-name

Explanation

The CHECK DATA utility found an XML document that is not valid for the XML type modifier of an XML column.

csect-name
The name of the control section that issued the message.
document-id
The hexadecimal document identifier.
column-name
The name of the XML column.
creator-name.table-name
The name of the table, qualified by the name of the creator of the table.

System action

The system action depends on options that were specified for the CHECK DATA utility:

AUXERROR REPORT
This error is reported.
AUXERROR INVALIDATE
The XML document that is in violation of the schema is copied to the XML exception table and is deleted from the XML table space. The base table XML column is set to an invalid state, and the base table space is set to an auxiliary warning state.

User response

Take the appropriate action for the CHECK DATA option that was specified:

AUXERROR REPORT
Run the CHECK DATA utility with the AUXERROR INVALIDATE option to copy the XML document that is in violation to the XML exception table, delete it from the XML table space, and set the base table XML column to an invalid state.
AUXERROR INVALIDATE
Either update the XML column with a document that is valid for the XML type modifier, or delete the base table row. Then run the CHECK DATA utility with the AUXERROR INVALIDATE option. If all XML documents are valid for their XML type modifiers, the auxiliary warning status will be reset.

Severity

4 (warning)

End of change