Opinion
Defendant Patricia Kay Watson was charged by information with possession for sale (Health & Saf. Code, § 11378) and sale (Health & Saf. Code, § 11379) of amphetamines. Claiming a lack of compliance with Penal Code section 869, defendant filed written objection at arraignment in the superior court to the reporter’s transcript of the preliminary hearing. The court ordered that transcript sticken and dismissed the information pursuant to Penal Code section 995. The People appeal. (Pen. Code, § 1238, subd. (a)(1). All further statutory references are to sections of the Penal Code unless otherwise indicated.)
*16 We shall summarize the salient points of our decision. Section 869 provides that the magistrate, on demand of the prosecutor, the defendant, or his counsel, must cause the testimony of a witness at the preliminary examination to be reduced to writing, which testimony must state, among other things, the witness’ place of residence. At issue in this appeal is the consequence of the magistrate’s failure to comply with that provision where he has held the defendant to answer for trial in the superior court. After first deciding that the appeal is properly taken, we determine that the requirement of section 869 to which we have alluded is directory only, although it does impose an obligatory duty on the magistrate to order the witness to disclose his place of residence. Accordingly, the magistrate’s failure to discharge that obligatory duty does not in itself render the commitment of defendant illegal. Among its other functions, section 869 serves to implement the constitutional right of cross-examination which ordinarily requires an adverse witness, when asked, to disclose his place of residence. However, this constitutional right does not inflexibly compel the witness to respond if disclosure would create a threat to his safety. Here, as proponent of the witness, the People bear the burden of so showing by competent evidence. Although there was no such competent showing here, the defendant’s constitutional right of cross-examination was not impaired by the magistrate’s refusal to compel the prosecution’s chief witness to state his place of residence, because adequate evidence bearing on the witness’ credibility was before the magistrate. As a result, defendant was not deprived of a substantial right at the preliminary examination. We will therefore reverse the judgment of dismissal.
I
Preliminarily, we address the propriety of the appeal. As defendant made no formal section 995 motion, she contends the trial court had no authority to treat her written objection to the preliminary hearing transcript as such a motion and to order dismissal thereon; accordingly, defendant contends, the People have no right of appeal from the order of dismissal. The argument fails for several reasons.
First, even assuming the absence of jurisdiction to order dismissal under section 995, the People are not deprived of the right of appeal therefrom if they otherwise would have such a right. (See
People
v.
Smith
(1983)
Second, the trial court had the authority on its own motion to dismiss the information “in furtherance of justice.” (§ 1385.) The People may appeal a section 1385 dismissal where, as here, jeopardy has not attached (§ 1238,
*17
subd. (a)(8);
Bellizzi
v.
Superior Court
(1974)
Finally, defendant did not object to the dismissal in the trial court and therefore had waived review of the issue on appeal.
We turn to the merits of the appeal.
II
At the beginning of the preliminary examination, defendant moved to have the testimony reduced to writing under section 869. Insofar as relevant that section provides: “The testimony of each witness in cases of homicide must be reduced to writing, as a deposition, by the magistrate, or under his direction, and in other cases upon the demand of the prosecuting attorney, or the defendant, or his counsel. The magistrate before whom the examination is had may, in his discretion, order the testimony and proceedings to be taken down in shorthand in all examinations herein mentioned, and for that purpose he may appoint a shorthand reporter. The deposition or testimony of the witness must be authenticated in the following form:
“First—It must state the name of the witness, his place of residence, and his business or profession; except that if the witness is a peace officer, it shall state his name, and the address given in his testimony at the hearing.”
At the preliminary hearing Daniel Sharp, an informant, testified that he had purchased amphetamines from defendant. On cross-examination, defense counsel asked Sharp to state his current address. The prosecutor objected on the ground that disclosure of the address would pose a threat to the safety of the witness. Defense counsel insisted that section 869 absolutely requires the address of a witness be included in his testimony.
At the suggestion of the magistrate, the prosecutor made an offer of proof as to why Sharp would be endangered if his address was disclosed. The prosecutor stated that after the drug sale to Sharp by defendant, Sharp received a telephone call from a man whom he knew well; the caller also knew a Lawrence Smith. The caller “indicated” that a “threat to Mr. Sharp and/or his family was being made because of . . . the witness’s involvement in a case against Lawrence Smith.” Defendant Watson and Smith were *18 living together at the time. In addition, on an occasion when Sharp was out of state, “shots were fired at him from an unknown person. ...” The magistrate ruled that the address need not be disclosed at the preliminary hearing.
In granting the motion to strike the preliminary hearing transcript and dismissing the information, the trial court explained: “Although the [prosecutor] attempted to show the magistrate that the witness’ [Sharp’s] life was in danger, the Court feels the magistrate should have required a more substantial showing to justify the refusal to reveal the witness’ address.”
Section 869, subdivision First, requires the testimony of a witness at a preliminary hearing “must state ... his place of residence.” 1 The People characterize this statutory requirement as directory rather than mandatory.
If official failure to comply with a statutory procedure should have an invalidating effect on subsequent governmental action, the statute is said to be mandatory; if not, it is said to be directory
(People
v.
McGee
(1977)
That the statute is couched in obligatory language is not decisive. “Many statutory provisions which are ‘mandatory’ in the obligatory sense are accorded only directory effect.”
(Morris
v.
County of Marin
(1977)
Section 869 comprehensively prescribes the procedures for reporting and transcribing preliminary examination proceedings and preparing, filing and distributing the transcript. The requirement that the residence of a witness be stated is subsidiary to the main statutory purpose, not “of the essence of the thing to be accomplished” (Pulcifer, supra, 29 Cal.2d at p. 262). However, that is not to say it is unimportant.
One purpose for residence disclosure obviously is to afford the party adverse to the proponent (usually the defendant) access to the witness and his residential environment to facilitate investigation into his credibility. Obstruction or unreasonable hindrance of such an opportunity may well trench on defendant’s fundamental rights. However, there are other means potentially as effective to protect those rights. Access to an adverse witness can be compelled by the court. As discussed more fully below other evidence, available through discovery or cross-examination, can serve as well to test the credibility of an adverse witness whose residence address is undisclosed. “[T]he availability or unavailability of alternative remedies may have an important bearing on whether a procedure is to be accorded ‘directory’ or ‘mandatory’ effect.”
(Morris
v.
County of Marin, supra,
III
Despite its directory character, the residence disclosure requirement of section 869 imposes an obligatory duty on the magistrate “upon the demand of the prosecuting attorney, or the defendant, or his counsel.” (See
People
v.
Freeny
(1974)
IV
An irregularity or defect in a preliminary examination does not necessarily render the ensuing order of commitment illegal, and a defendant is entitled to a dismissal of the information only if he has been deprived of some substantial right.
(People
v.
Pompa-Ortiz
(1980)
“The fundamental right of cross-examination includes eliciting the address of a witness in order that ‘the witness may be identified with his community so that independent testimony may be sought and offered of his reputation for veracity in his own neighborhood’ and that ‘facts may be brought out tending to discredit the witness by showing that his testimony in chief was untrue or biased.’”
(Miller
v.
Superior Court, supra, 99
Cal.App.3d at p. 385, quoting
Alford
v.
United States
(1931)
Notwithstanding the error in refusing to comply with section 869 by compelling the witness Sharp to disclose his residence, defendant was not
*21
deprived of a substantial right. The evidence established that Sharp had used, sold and otherwise trafficked in illegal drugs and had received income from those activities; he had incurred a prior felony conviction; over a period of years he had worked with various law enforcement agencies as an informant and had sold information to them; and the law enforcement agency with which he was currently working was aware of his illegal involvement with drugs but had never attempted to make a case against him. Given this evidence, much of it from the witness’ own mouth, vindication of defendant’s fundamental rights did not depend on a canvass of the witness’ own residential neighborhood for character evidence. The magistrate had ample evidence before him to place the witness Sharp in his proper setting and accurately to evaluate his credibility. (See
People
v.
Gallo, supra,
Since defendant was not deprived of a substantial right at the preliminary hearing (see
People
v.
Gallo, supra,
The judgment of dismissal is reversed.
Evans, J., and Blease, J., concurred.
Notes
The People suggest that “place of residence” is not the equivalent of “current address,” the former term being a more general reference to the city or locality where a person resides. However, if that were the case there would be no reason for the express exception in favor of peace officers, most of whom presumably reside in the communities where they work but who need only state their business address. (§§ 869; 1328.5; consult also Annot.,
