Okla. Stat. tit. 22, § 964
Officer may be directed to produce prisoner
When the defendant is in custody, the court may direct the officer in whose custody he is to bring him before it for judgment, and the officer must do so accordingly.
R.L.1910, § 5945.