 These two preconditions form the foundation for the issue of mandamus.The primary scope and function of mandamus is to "command" and "execute" rather than to "enquire" and "adjudicate".It cannot be issued to change the decision of a body so as to suit the petitioner.