The duty must be judged in the light of positive obligation owed by the person or authority to the affected party,no matter by what means the duty is imposed,if a positive obligation exists,mandamus cannot be denied