Edward R. FitzSimmons, the real party in interest, appeals from an order issuing peremptory writs of prohibition and mandate ordering the clerk of the Municipal Court for the Oakland-Piedmont Judicial District to enter default in the action hereafter mentioned and the court to desist from further proceedings therein.
*69 Question Presented
Are prohibition and mandamus proper remedies where the municipal court attempts to exercise jurisdiction in an action after improper refusal to enter default of defendant and judgment?
Record
December 10, 1956, respondent W. A. Rose Company filed an action in said municipal court against appellant FitzSimmons upon common counts for materials furnished and services rendered. December 12, process was served. December 21, the court made an order extending appellant’s time to plead until January 10, 1957. January 8, an order extending the time to January 31 was made. This order showed that 20 days had previously been granted by order of court, thus making a total extension of 43 days. (Section 1054, Code of Civil Procedure, provides, in effect, that no extension of time exceeding 30 days may be. granted by a judge without the consent of the adverse party.) January 30, appellant, who had been appearing in propria persona, substituted as his attorney an attorney who was a member of the state Legislature. An affidavit of said attorney was filed requesting an extension to 40 days after the adjournment of the Legislature then in session, pursuant to sections 595 and 1054.1, Code of Civil Procedure. January 31, an order granting an extension until 40 days after the adjournment was filed. This order stated that 43 days extension had been granted previously. February 1, respondent filed a request with the court clerk to enter appellant’s default. The clerk did not act on the request. July 12, appellant filed a notice of motion for change of venue, which motion was calendered for August 9. August 1, respondent filed a second request for entry of default and notices of motion to set aside the order extending time made January 8 on the ground that the court exceeded its jurisdiction, and the order of January 31 on the ground that the court was without jurisdiction. August 9, the motion for change of venue and the motions to set aside the orders were continued to August 29. August 19, appellant filed a second notice of motion for change of venue and a demurrer. The motion and hearing of the demurrer were set for August 26. August 22, respondent filed notice of motion to strike the August 19 motion for change of venue. August 23, respondent filed petitions in the superior court of Alameda County for writs of prohibition against respondent municipal court and mandate against that court’s clerk. August 29, the municipal court ordered the *70 motions for change of venue and to set aside orders extending time dropped from the calendar. September 11, the petition for writs was heard in the superior court and the hearing continued to September 18. No appearance was made for appellant on the latter date. The order for issuance of the peremptory writs was made that day and filed September 30. This appeal is from that order. October 25, the superior court denied appellant’s motion to vacate the order granting the writs, which motion was made on the grounds of surprise, inadvertence, etc. Pursuant to the writs the municipal court vacated the orders of January 8 and 31 extending time and entered default and judgment in favor of respondent and against appellant in the sum of $2,554.62 plus interests and costs.
Jurisdiction
On February 1, when respondent requested the clerk to enter default and judgment, there was no pleading by defendant on file, but there was the January 31 order of the court extending appellant’s time to appear until 40 days after adjournment of the Legislature. Respondent contends that as that order was void, it was entitled then to a default. Appellant contends that the clerk, who may act only ministerially, had no authority to pass upon the sufficiency of the order, and that respondent should have moved to strike that order (as it did later).
As the situation on August 1 hereafter discussed is determinative of this case, even though appellant’s contention concerning the situation on February 1 is correct, we deem it unnecessary to further discuss that contention or the fact that the order extending time of January 8 purported to extend the time beyond the 30-day period.
On August 1, when respondent filed with the clerk its second request for entry of default, the time to appear granted in the January 31 order had expired. The only pleading of defendant on file at that time was appellant’s notice of motion for change of venue, which had been calendered for hearing August 9. No demurrer or answer had been filed, and unless the notice of motion constituted a sufficient appearance under section 585, subdivision 1, Code of Civil Procedure, respondent was entitled to an entry of default. It is appellant’s contention that it did constitute such an appearance. Appellant further contends that if it was not such appearance, appellant appeared by demurrer on August 19 when he filed the second notice of motion for change of venue, and that when the su *71 perior court on September 18 considered respondent’s application for writs filed September 11, the municipal court had for consideration appellant’s motion for change of venue, demurrer, and respondent’s motion to strike the first motion for change of venue and the orders extending time; hence respondent had a plain, speedy and adequate remedy at law.
Was the filing of the first notice of motion for change of venue on July 12 an appearance ? Section 585, subdivision 1, Code of Civil Procedure, provides that judgment may be had in an action upon contract for the recovery of money if the defendant has been personally served and “no answer or demurrer has been filed with the clerk . . .” or notices there specified, of which a notice of motion for change of venue is not one, within the time specified in the summons or further time granted, and that the clerk must, upon application, enter default and judgment. Section 396b requires that the affidavit of merits and notice of motion for change of venue be filed by the defendant “at the time he answers or demurs . . .” In
Nicholl
v.
Nicholl
(1884),
Thus, the notice of motion did not constitute an appearance preventing the entry of default. Respondent was entitled to such entry and the clerk should have entered it. In so doing, the clerk would not have been, as contended by appellant, performing a judicial function. It would have been purely a ministerial one. Section 585, subdivision 1, requires a default to be entered on application, if there is no demurrer or answer or notice of the character specified in section 585 on file. The clerk merely has to look at the record and see if there is a demurrer or answer or such notice on file. Seeing none, he must enter the default even though there be a notice of motion for change of venue filed.
This situation is entirely different from that in
Bose
v.
*72
Lelande
(1912),
The subsequent untimely filings by appellant and motions made by respondent did not affect the duty of the clerk to enter default when requested, nor did they restore the jurisdiction to the court which was lost when default should have been entered. See
Kennedy
v.
Mulligan
(1902),
When the matter came before the superior court upon respondent's application for the writs, the matter with which that court was concerned was the record situation on August 1 when respondent was entitled to the entry of default which it requested. The municipal court thereafter lost jurisdiction to do anything but enter the default and judgment.
Appellant contends that the writs were improperly issued because respondent had a plain, speedy and adequate remedy at law, namely, the right to move the municipal court to set aside the orders of January 8 and January 31 and then to appeal from a denial thereof, if made. As we have pointed out, those orders had expired in any event by August 1 when respondent moved for default the second time, so no advantage would be gained by such a motion (although respondent did on August 1 file a motion to set aside said orders and on August 22 a motion to strike the notice of motion for change of venue and demurrer).
Appellant then contends that after respondent’s demand of August 1 for entry of default, the municipal court continued to exercise jurisdiction in the ease by considering appellant’s motions for change of venue, demurrer, respondent’s motions to strike said orders and the appellant’s notice of motion for change of venue and demurrer, and that respondent had an adequate remedy at least in its right to appeal from the order denying respondent’s motion to strike. Appellant then contends that the action of the municipal court was within its jurisdiction and if erroneous, respondent’s only remedy was *73 appeal, and not an attack by way of prohibition on the court’s jurisdiction.
Appellant cites
Abelleira
v.
District Court of Appeal
(1941),
The other cases cited by appellant do not conflict with the above quoted principles.
Estate of Keet
(1940),
The adequacy of other remedies is a factual question whose determination lies largely in the discretion of the trial court.
(Rescue Army
v.
Municipal Court
(1946),
As to mandamus, the writ may be issued by a superior court to an inferior court or court officer to compel the performance of an act which the law specially enjoins. (Code Civ. Proc., § 1085.) The entry of a default judgment by the clerk is purely a ministerial act. (Code Civ. Proc., § 585;
Baird
v.
Smith
(1932),
*75
The issuance of mandamus depends as does the issuance of prohibition upon the absence of another adequate remedy. (Code Civ. Proe., § 1086.) This involves the discretion of the issuing court.
(Carter
v.
Superior Court
(1950),
The order is affirmed.
Tobriner, J., and Foley, J. pro tem., * concurred.
Appellant’s petition for a hearing by the Supreme Court was denied February 4, 1960.
Notes
Assigned by Chairman of Judicial Council.
