The XML Extender provides return codes to help resolve problems with stored procedures. When you receive a return code from a stored procedure, check the following file, which matches the return code with an XML Extender error message number and the symbolic constant.
DXX_INSTALL/include/dxxrc.h
You can reference the error message number in Messages and use the diagnostic information in the explanation.