More missing hdsbool_t APIs
Add more error checking to datAlter