The committing magistrate shall notify the prosecuting attorney of his action and shall direct him to investigate the case to ascertain the validity of the affidavits and documents required by § 23-26A-1 and the identity and authority of the affiant.
SDCL 23-26A-3