The process by which the attendance of a witness before a court or magistrate is required is a subpoena.
ORS 136.555