Illegal flags value passed to OPENXML

Error constant SQLE_BAD_OPENXML_FLAG
ODBC 2 State ERROR
ODBC 3 State ERROR
Severity 16
SQLCODE –893
SQLSTATE WX004
Sybase error code 13590
Probable cause

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