an apparatus for operating a positioning drive is proposed , in which a distance between two predefined positions is ascertained in the course of a reference run , and is used as the basis for a data set selection .