CCP 3865     

Art. 3865.  Alternative writ

Upon the filing of a petition for a writ of mandamus, the court shall order the issuance of an alternative writ directing the defendant to perform the act demanded or to show cause to the contrary.