Given it's absence from the AA chart, I'm assuming that it does not earn AA miles, but I'll find out after my flight tomorrow. I'll keep an eye on this thread in case anyone can say definitively.
O is on the LY Matmid earning chart and should earn points depending on the destination, with this caveat:
Bonus tickets, travel agents tickets, free tickets, airline employees tickets, special deal tickets, charter flight tickets and special discount tickets do not earn points.
Thanks!