In this blog post, you’ll learn more about the Sybase Error Illegal flags value passed to OPENXML and the reason for receiving this error
Sybase SQL Error Message
Illegal flags value passed to OPENXML
Reason for this Error
The flags value passed to OPENXML as the third argument must be either 1 (attribute-centric mapping), or 2 (element-centric mapping).