Illegal flags value passed to OPENXML

Item Value
SQLCODE -893
Constant SQLE_BAD_OPENXML_FLAG
SQLSTATE WX004
Sybase error code 13590
ODBC 2 State ERROR
ODBC 3 State ERROR

Probable cause 

The flags value passed to OPENXML as the third argument must be either 1 (attribute-centric mapping), or 2 (element-centric mapping).