beg db inp buf stream