A computer-implemented method, a
computer program product, and a computer
system for repositioning operation on a tape medium based on dataset information. A computer
system obtains dataset information of a dataset on a tape medium in a
sync operation, where the dataset information includes positions of data in the dataset. A computer
system sends the dataset information of the dataset to a host. In response to starting a repositioning operation, a computer system receives from the host the dataset information of the dataset. A computer system reads the dataset information of the dataset. A computer system repositions to a target on the tape medium, based on the dataset information of the dataset, where a
tape drive refers to the dataset information and moves to a position immediately before the target.