method get_cur_iosh () =
    match cur_rd_dat with
      None -> (match getRDs (Extlib.the self#current_stmt) with
        None -> None
      | Some(_,_,iosh) -> Some iosh)
    | Some(_,_,iosh) -> Some iosh