Opinion
We are confronted on this appeal with a crucial question that seems to be of first impression in this jurisdiction: Is the dismissal of an action invoked as a sanction under Code of Civil Procedure section 2034, subdivision (b)(2), for failure to comply with the discovery rules a dismissal on the merits barring another action involving the same parties and subject matter?
This litigation arises from a dispute over property rights between two brothers who were former partners in a furniture business. The appeal is from a judgment of dismissal of the second of two suits (the first being the one in which sanctions were applied) commenced by Henry Kahn against Melvin Kahn pursuant to an order sustaining a demurrer without leave to amend. It is conceded that both actions were based on the same causes of action. The demurrer to the complaint in the second case was sustained on the ground that “the former action is res judicata and a bar to maintenance of this action.”
The original lawsuit was commenced on November 30, 1971, by Henry in the Alameda County Superior Court to impress a constructive trust on four parcels of real property. They included commercial properties in *377 Oakland and Alameda, and a duplex and an unimproved lot in Alameda. The gravamen of the complaint was that before their estrangement a fiduciary relationship existed between them. During that happier period in their relationship, Henry, upon the advice and urging of Melvin, transferred title to each of the parcels of real property to the latter without consideration. While these transactions occurred at different intervals of time, the complaint makes it clear that each took place at a time that Heniy was having either business or marital problems and were calculated to shield his real property from the reach of his creditors or his wife. It was also averred that on each occasion it was orally agreed that Henry would continue to make the mortgage and tax payments for each parcel and that Melvin would reconvey the property to Henry on demand. Thereafter Henry did in fact make the payments for each of the four parcels of property. Finally, the complaint alleged, in 1964 Henry made demand upon Melvin for a reconveyance of the property. Negotiations as to the terms of the reconveyance continued until 1971, but without progress. Henry therefore concluded that his brother’s adamant position with regard to the negotiations was tantamount to a refusal to convey the property, hence the ensuing court action. In addition to equitable relief, he also prayed for both general and punitive damages in substantial amounts.
After a number of preliminary skirmishes in the trial court, Henry was cited to appear before Judge John P. Sparrow to show cause why sanctions should not be imposed against him for failure to comply with a discovery order. There was no appearance for appellant on the return date, the attorney who had been substituted for his former counsel having evidently miscalendared the hearing. In any event, on April 3, 1975, Judge Sparrow signed his order that upon defendant’s motion, “The Court having duly heard and considered the matter,” the cause “is hereby dismissed” on the grounds that “plaintiff has wilfully failed and refused to comply with the orders of this Court to give discovery.” There has been no direct attack on that order.
Later, Lawrence Jarvis, the newly retained attorney for Henry, learned what had happened. He thereupon went out to the judge’s courtroom and asked the court clerk if the dismissal was with or without prejudice. The clerk, after taking the matter up with Judge Sparrow, returned and informed Jarvis only that the action had been “just dismissed.”
Instead of attempting to set aside the dismissal by motion to reconsider or appeal from the judgment, appellant filed the present *378 action on April 22, 1975. The allegations of the complaint in the new action were almost identical with those set forth in the pleadings in the first action, with one unimportant exception—one of the four parcels of real property described in the original pleading was for some reason omitted from the subsequent complaint. A demurrer to that complaint was filed on May 23, 1975, on the ground that the prior action between the parties based upon the same causes of action was still pending (the time for appeal from the judgment entered therein not having expired). The demurrer prayed, inter alia, for an order barring any further action in the second suit until after final determination of the first action. In response, Henry filed what purported to be a request for voluntary dismissal of the first action. On June 23, 1975, Melvin demurred again to the complaint in the second action, this time on the ground that the judgment in the original case had in the meantime become final, and was res judicata as to all issues in the second suit. The order and judgment from which this appeal was taken resulted.
The primary issue on this appeal is therefore as to whether the dismissal of the first action for failure to comply with the discovery orders was actually an adjudication on the merits which would bar the subsequent action. 1 Respondent presents other issues (raised for the first time on appeal) as alternative grounds for affirming the judgment below. These include questions involving the bar of the statute of limitations and the application of the unclean hands doctrine. Such matters will, of course, become moot if this court agrees with respondent that the final judgment of dismissal in the first action must be deemed to have had the force and effect of an adjudication on the merits. Since we do agree for reasons that follow, it becomes inappropriate for us to pass upon these collateral issues.
I. The prior judgment was res judicata, barring a subsequent action involving the same parties and subject matter.
Appellant earnestly relies upon the well settled rule that a judgment of dismissal is not res judicata unless it was on the merits.
(Gonsalves
v.
*379
Bank of America
(1940)
We therefore start our uncharted course with the following precept taken from
Moch
v.
Superior Court
(1919)
The grounds on which an action may be dismissed are generally prescribed by statute. 3 We must therefore look first to the statutory framework from which the present inquiry must be resolved.
a. The prior judgment is res judicata under the applicable statutory provisions in California as reasonably interpreted.
*380 Code of Civil Procedure section 2034, subdivision (b)(2), the statutory basis for the dismissal in the instant case, states in pertinent part: “If any party or person for whose immediate benefit the action or proceeding is prosecuted or defended . . . refuses to obey an order made under subdivision (a) of this section . . . the court may make such orders in-regard to the refusal as are just, and among others the following: ... [If] (iii) An order striking out pleadings or parts thereof, or staying further proceedings until the order is obeyed, or dismissing the action or proceeding or any part thereof, or rendering a judgment by default against the disobedient party; . ..” (Italics added.)
Various express grounds for involuntary dismissal are conferred on the courts by Code of Civil Procedure sections 581-583 as part of title 8, chapter 1, under the title “Judgment in General.” Sections 581, 581a, 581c and 583 state generally the statutory grounds for dismissal, either with or without prejudice. All dismissals ordered by the court when filed and entered in the manner prescribed by statute “shall constitute judgments and be effective for all purposes.” (Code Civ. Proc., § 581d.) Finally, section 582 reads: “In all other cases [presumably those not mentioned in tit. 8, ch. 1] judgment shall be rendered on the merits. ” However, the latter section does not apply where the record affirmatively shows that there was not an actual determination on the merits. 4
The civil discovery statutes (Code Civ. Proc., §§ 2016-2035), it has been said, are intended “ ‘(1) to give greater assistance to the parties in ascertaining the truth and in checking and preventing perjury; (2) to provide an effective means of detecting and exposing false, fraudulent and sham claims and defenses; (3) to make available, in a simple, convenient and inexpensive way, facts which otherwise could not be proved except with great difficulty; (4) to educate the parties in advance of trial as to the real value of their claims and defenses, thereby encouraging settlements; (5) to expedite litigation; (6) to safeguard against surprise; (7) to prevent delay; (8) to simplify and narrow the issues; and, (9) to expedite and facilitate both preparation and trial.’
(Greyhound Corp.
v.
Superior Court,
Certain canons of statutory construction may be of guidance here. In order that the legislative intent be given effect, a statute should be construed with due regard for the ordinary meaning of the language used, and in harmony with the whole system of law of which it is a part so that none of its provisions shall be useless or meaningless.
(Anaheim Union Water Co.
v.
Franchise Tax Bd.
(1972)
With these principles in mind, to read Code of Civil Procedure section 2034 as appellant does, would, in our view, render that section both unfair and internally inconsistent, and would tend to defeat the underlying legislative purpose.
Section 2034, subdivision (b)(2)(iii) authorizes inter alia entry of a default judgment against a defendant for failing or refusing to comply with the court’s discovery
*382
orders.
5
A judgment by default is res judicata as to all issues aptly pleaded in the complaint, and defendant is estopped from denying in a subsequent action any allegations contained in the former complaint.
(Horton
v.
Horton
(1941)
The
ratio decidendi
behind such cases appears to be on the theory that a persistent refusal to comply with an order for the production of evidence is tantamount to an admission that the disobedient party really has no meritorious claim or defense to the action. It was thus explained in
Unger.
“ ‘The
Hammond [Packing Co.
v.
Arkansas
(1909)
Moreover, section 582 of the Code of Civil Procedure would seem to compel a finding that dismissal for failure to comply with discovery orders constitutes an adjudication on the merits. Section 577 et seq. of the Code of Civil Procedure deal with the effect to be given judgments in California. Sections 581, 581a and 581c specify when and under what circumstances a' judgment of dismissal shall be with prejudice to the cause. A judgment of dismissal on the ground of failure to comply with orders of the court to make discovery is not among those specifically mentioned. But section 582 provides,
“In all other cases
*383
judgment shall be rendered on the merits.” If this section is to have any meaning at all, therefore, a judgment of dismissal for noncompliance with discovery orders must come under the statutory command and have the effect of a judgment against the plaintiff on the merits.
(A mes toy Estate Co.
v.
City of Los Angeles
(1907)
Appellant seeks to avoid this construction by reliance on
Campanella
v.
Campanella, supra,
To uphold appellant’s interpretations of Code of Civil Procedure section 2034 would in some instances reward a party guilty of dilatory conduct. Suppose the conduct of the evasive party were so flagrant as to amount to insubordination and a resolute intent to disobey any further court orders. To permit such a party to suffer no consequences other than the delay of filing a new action after his first has been dismissed would seem to be an absurdity not intended by the Legislature. As the court stated in
Nasser
v.
Isthmian Lines
(2d Cir. 1964)
b. In the absence of contrary precedent in California, this court should follow federal decisional law holding that a dismissal by way of *384 sanctions under the analogous federal rule must be treated as a dismissal on the merits.
We come to what may be another persuasive reason for affirming the judgment below.
Code of Civil Procedure section 2034 and its related sections were proposed to the Legislature for the purpose of adopting the Federal Rules of Civil Procedure and for the express purpose of broadening the preexisting California rules to the end that they would be comparable with those proceedings in the federal courts. (Rep. of Com. on Admin, of Justice,
Discovery
(1956) 31 State Bar J. 204-231.) “These statutes are, in substance, exact counterparts of the federal rules. Therefore, the Legislature must have intended that they should have the same meaning, force and effect as have been given the federal rules by the federal courts
(Scripps Memorial Hospital, Inc.
v.
California Emp. Com.,
The pertinent language of Code of Civil Procedure section 2034 was actually taken verbatim from Federal Rules of Civil Procedure rule 37(b)(2), which states in relevant part as follows: “[T]he court in-which the action is pending may make such orders in regard to the failure as are just, and among others the following: . . . (C) An order striking out pleadings or parts thereof, or staying further proceedings until the order is obeyed, or dismissing the action or proceeding or any part thereof, or rendering a judgment by default against the disobedient party.”
Federal decisions involving the effect of dismissals by way of sanctions under the discovery rules are therefore most compelling as precedent to be followed here. We therefore cannot ignore the persuasive effect of the decision in the Second Circuit in
Nasser
v.
Isthmian Lines, supra,,
*385 Appellant seeks to distinguish and avoid the application here of the Nasser line, of cases first on the ground that those decisions were compelled only because of the provisions of federal rule 41(b). That rule provides in part as follows: “Unless the court in its order for dismissal otherwise specifies, a dismissal under this subdivision and any dismissal not provided for in this rule, other than a dismissal for lack of jurisdiction, for improper venue, or for failure to join a party under Rule 19, operates as an adjudication upon the merits.” (Italics added.)
But the Supreme Court of the United States pointed out in
Societe Internationale
v.
Rogers
(1958)
In
Societe Internationale,
a district judge, after making an express finding that the petitioner had shown good faith in its efforts to comply with the court’s order for production of voluminous documents, nevertheless dismissed the complaint with prejudice. The Supreme Court held that the rules must be read in light of the Fifth Amendment. The court therefore concluded that in light of the “serious constitutional questions” there presented “we think that Rule 37 should not be construed to authorize dismissal of this complaint because of petitioner’s noncompliance with a pretrial production order when it has been established that
failure to comply has been due to inability, and not to willfulness, bad faith, or any fault of petitioner.
”
(Societe Internationale
v.
Rogers, supra,
*386
It has not been suggested that there are any such problems in the instant case. This is also true of another federal citation relied upon by appellant,
Lohman
v.
General American Life Insurance Co.
(8th Cir. 1973)
These cases are therefore in no way in conflict with
Nasser.
If the
Nasser
line of cases is to be followed, therefore, the language of Code of Civil Procedure section 582 is similar in import to federal rule 41(b) so that a judgment of dismissal as a discovery sanction by a state court must be likewise regarded as a judgment on the merits.
7
Treatment of dismissals under federal rule 41(b) and its counterpart, Code of Civil Procedure section 577 et seq., have also in other respects been substantially similar. We have heretofore referred to the California rule that where the record affirmatively shows that a dismissal was on merely technical or excusable grounds it cannot be treated as a judgment on the merits. (See
Gonsalves
v.
Bank of America, supra,
Appellant’s asserted distinction also fails for the further reason that
Nasser
v.
Isthmian Lines, supra,
The interpretation placed on a federal statute by federal courts is followed in construing state statutes modeled after the federal statute,' and it is presumed that the Legislature had that interpretation in mind.
(Scripps etc. Hospital
v.
Cal. Emp. Com.
(1944)
II. The attempted voluntary dismissal of the original suit after the order andjudgment of dismissal was ineffective for any purpose.
After the motion to dismiss had been granted, and before the expiration of time to appeal from the judgment of the lower court, appellant filed his request for a voluntary dismissal of that action. This was apparently intended to overcome the grounds for the first demurrer in the second action (that there was another action between the same parties and involving the same subject matter still pending), or to undermine the res judicata effect of the judgment in the former action.
In
Eddings
v.
White
(1964)
*388 It follows from the foregoing conclusions that the judgment dismissing the present suit pursuant to the order sustaining a demurrer without leave to amend must be affirmed.
• Molinari, P. J., and Sims, J., concurred.
A petition for a rehearing was denied April 21, 1977, and appellant’s petition for a hearing by the Supreme Court was denied May 19, 1977.
Notes
Retired judge of the superior court sitting under assignment by the Chairman of the Judicial Council.
Respondent attempts to argue that the dismissal of the first action was based upon a persistent course of refusal by Henry to comply with discovery orders, and was not the result of any sudden pique on the part of the trial judge. Accordingly, he has requested this reviewing court to take judicial notice of the entire record in the first action, including transcripts of various hearings and depositions, to substantiate the implied finding of wilful disobedience to the court orders. But the propriety of Judge Sparrow’s dismissal of the first action is in no way in issue here. Appellant permitted his judgment to become final without objection, so that however drastic, this court must assume that the judgment is supported by substantial evidence.
For a discussion of this distinction, generally, see
Goddard
v.
Security Title Ins. & Guar. Co., supra,
For circumstances under which a court may exercise its inherent discretionary power to dismiss an action, see 1 California Jurisprudence Third, Actions, sections 238-257, pages 709-750.
This includes dismissals on grounds such as delay or want of prosecution, improper venue, formal defects in pleadings, lack of jurisdiction, or prematurely filing suit.
Unlike a dismissal, a judgment by default can never be given unless the defendant fails to answer, subject, perhaps, to the special exception as a discovery sanction under Code of Civil Procedure section 2034.
(Wilson
v.
Goldman
(1969)
State courts which have been confronted with dismissals for wilful failure and refusal to comply with discovery orders have likewise held that such dismissals were
*385
adjudications on the merits.
(Heizman
v.
City of Chicago
(1974)
As originally enacted in 1872, Code of Civil Procedure section 582 read: “In every case, other than those mentioned in the last section, judgment must be rendered on the merits.” A 1907 amendment changed the opening provision to read: “In all cases other than those mentioned in the last two sections.” The present form.resulted from a 1947 amendment which opened: “In all other cases.”
