A computer program product for writing data to tape, the computer program product comprising a computer readable storage medium having program instructions embodied therewith, the program instructions executable by a computer to cause the computer to perform a method comprising:
- receiving, by the computer, a series of commands, the series of commands including mixed read, overwrite, and append write commands;
- causing, by the computer, reading of data from a specified position of the tape using a head and storing the data in a buffer in response to a read command;
- and
- causing, by the computer, writing data stored in the buffer starting from an appended data end position of the tape in response to an append write command.