XMLGEN evaluation failure

Error constant SQLE_XMLGEN_EVALUATION_FAILURE
ODBC 2 State ERROR
ODBC 3 State ERROR
Severity 16
SQLCODE –906
SQLSTATE WX013
Sybase error code 13577
Probable cause

One of the variables referenced in the XQuery constructor was not found in the list of arguments.