Tape duplexing with unique identity and error recovery
First Claim
1. A method for creating a duplicate copy of a tape comprising:
- allocating a first tape having a first data set name and a second tape having a second data set name;
determining if a TCN flag exists indicating that a copy of the first tape needs to be made;
writing a first buffer to the first tape;
writing the first buffer to the second tape in a manner that ensures that block for block the data on the second tape is located at the same position as on the first tape;
checking if the first tape was written without errors;
checking if the second tape was written without errors;
checking if an additional buffer needs to be written to the first tape and the second tape; and
forcing an end of volume condition if there are no additional buffers to be written to the first tape and second tape.
1 Assignment
0 Petitions
Accused Products
Abstract
A method for creating a duplicate copy of a tape in which a first tape having a first data set name and a second tape having a second data set name are allocated. Data is written to the first and second tapes so that block for block, the data is located at the same position on each of the tapes. After data is written to one of the tapes, a check is made to verify that the data was written correctly. If an error is detected in writing the second tape, an error flag is set that indicates a copy of the first tape needs to be made. At various stages of the process, checks are made to determine if error flag is on. If the error flag is detected, writing the second tape is suspended.
-
Citations
16 Claims
-
1. A method for creating a duplicate copy of a tape comprising:
-
allocating a first tape having a first data set name and a second tape having a second data set name; determining if a TCN flag exists indicating that a copy of the first tape needs to be made; writing a first buffer to the first tape; writing the first buffer to the second tape in a manner that ensures that block for block the data on the second tape is located at the same position as on the first tape; checking if the first tape was written without errors; checking if the second tape was written without errors; checking if an additional buffer needs to be written to the first tape and the second tape; and forcing an end of volume condition if there are no additional buffers to be written to the first tape and second tape. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16)
-
Specification