I have this html:
You are trying to get select data attribute, and not option's.
Also, I can see that all you data
attributes are identical. Then you can move it from option to select itself: and use code snipped from your question unmodified.
function check_status(obj) {
var uid = obj.options[obj.selectedIndex].getAttribute('data');
alert(uid)
}