# US 2024/0203459 A1 · Retaining high resolution tape directory in overwritten end of data set

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2024/0203459 A1
- Document ID: US20240203459A1
- Status: Published application
- Kind: A1
- Application number: 18/067,833
- Filed: 2022-12-19
- Published: 2024-06-20
- Earliest claimed: 2022-12-19
- Assignees: International Business Machines Corporation
- Applicants: International Business Machines Corporation
- Inventors: Tsuyoshi Miyamura
- Web page: https://patentgrep.com/patent/US20240203459A1

## CPC

- G11B 27/107: {of operating tapes}
- G11B 27/028: with computer assistance
- G11B 2220/93: Longitudinal format, wherein tracks are in the direction of the tape, read with a static head, e.g. DCC
- G11B: INFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER (recording measured values in a way that does not require playback through a transducer G01D9/00; recording or playback apparatus using mechanically marked tape, e.g. punched paper tape, or using unit records, e.g. punched or magnetically marked cards G06K; transferring data from one type of record carrier to another G06K1/18; circuits for coupling output of reproducer to radio receiver H04B1/20; gramophone pick-ups or like acoustic electromechanical transducers or circuits therefor H04R)

## Abstract

An End of Data Set (BOD) including a High Resolution Tape Directory (HRTD) is written at a position next to a last written user data set on a tape. When appending a new user data set, the new user data set is written starting from a position next to an end longitudinal position (LPOS) of the EOD to generate an overwritten BOD.

## Claims

### Claim 1

A method comprising:
writing, at a position next to a last written user data set on a tape, an End of Data Set (EOD) including a High Resolution Tape Directory (HRTD); and
writing, when appending a new user data set, the new user data set starting from a position next to an end longitudinal position (LPOS) of the EOD to generate an overwritten EOD.

### Claim 2 (depends on 1)

The method of claim 1, wherein the EOD has a first data set ID and a first tape write pass value, and wherein the new data set has the first data set ID and a second tape write pass value that is greater than the first tape write pass value.

### Claim 3 (depends on 1)

The method of claim 1, further comprising recording, in a cartridge memory, information for locating the overwritten EOD.

### Claim 4 (depends on 3)

The method of claim 3, wherein the information comprises a data set ID for the overwritten EOD, a tape write pass value for the EOD, a wrap in which the EOD is recorded, and the beginning LPOS of the overwritten EOD.

### Claim 5 (depends on 3)

The method of claim 3, further comprising:
reading the cartridge memory to obtain the information for locating the overwritten EOD;
locating the overwritten EOD using the information from the cartridge memory; and
restoring the HRTD by reading the overwritten EOD.

### Claim 6 (depends on 4)

The method of claim 4, further comprising:
reading the cartridge memory to obtain the end LPOS of the overwritten EOD;
repositioning a tape head to a position at the beginning LPOS; and
reading from the beginning LPOS to restore the HRTD from the overwritten EOD.

### Claim 7 (depends on 1)

The method of claim 1, further comprising:
reading a first data set;
in response to determining that the first data set is an EOD, checking EOD information in cartridge memory; and
in response to determining that the first data set has been overwritten based on the EOD information in cartridge memory, reading a second data set by incrementing a tape write pass value.

### Claim 8

A tape drive comprising:
a memory; and
a controller communicatively coupled to the memory, the controller configured to:
write, at a position next to a last written user data set on a tape, an End of Data Set (EOD) including a High Resolution Tape Directory (HRTD); and
write, when appending a new user data set, the new user data set starting from a position next to an end longitudinal position (LPOS) of the EOD to generate an overwritten EOD.

### Claim 9 (depends on 8)

The tape drive of claim 8, wherein the EOD has a first data set ID and a first tape write pass value, and wherein the new data set has the first data set ID and a second tape write pass value that is greater than the first tape write pass value.

### Claim 10 (depends on 8)

The tape drive of claim 8, wherein the controller is further configured to record, in a cartridge memory, information for locating the overwritten EOD.

### Claim 11 (depends on 10)

The tape drive of claim 10, wherein the information comprises a data set ID for the overwritten EOD, a tape write pass value for the EOD, a wrap in which the EOD is recorded, and the beginning LPOS of the overwritten EOD.

### Claim 12 (depends on 10)

The tape drive of claim 10, wherein the controller is further configured to:
read the cartridge memory to obtain the information for locating the overwritten EOD;
locate the overwritten EOD using the information from the cartridge memory; and
restore the HRTD by reading the overwritten EOD.

### Claim 13 (depends on 12)

The tape drive of claim 12, wherein the controller is further configured to:
read the cartridge memory to obtain the end LPOS of the overwritten EOD;
reposition a tape head to a position at the beginning LPOS; and
read from the beginning LPOS to restore the HRTD from the overwritten EOD.

### Claim 14 (depends on 8)

The tape drive of claim 8, wherein the controller is further configured to:
read a first data set;
in response to determining that the first data set is an EOD, check EOD information in cartridge memory; and
in response to determining that the first data set has been overwritten based on the EOD information in cartridge memory, read a second data set by incrementing a tape write pass value.

### Claim 15

A computer program product comprising a computer readable storage medium having code embodied therewith, the code executable by a controller to cause the controller to:
write, at a position next to a last written user data set on a tape, an End of Data Set (EOD) including a High Resolution Tape Directory (HRTD); and
write, when appending a new user data set, the new user data set starting from a position next to an end longitudinal position (LPOS) of the EOD to generate an overwritten EOD.

### Claim 16 (depends on 15)

The computer program product of claim 15, wherein the EOD has a first data set ID and a first tape write pass value, and wherein the new data set has the first data set ID and a second tape write pass value that is greater than the first tape write pass value.

### Claim 17 (depends on 15)

The computer program product of claim 15, wherein the code is further executable by the controller to cause the controller to record, in a cartridge memory, information for locating the overwritten EOD.

### Claim 18 (depends on 17)

The computer program product of claim 17, wherein the information comprises a data set ID for the overwritten EOD, a tape write pass value for the EOD, a wrap in which the EOD is recorded, and the beginning LPOS of the overwritten EOD.

### Claim 19 (depends on 17)

The computer program product of claim 17, wherein the code is further executable by the controller to cause the controller to:
read the cartridge memory to obtain the information for locating the overwritten EOD;
locate the overwritten EOD using the information from the cartridge memory; and
restore the HRTD by reading the overwritten EOD.

### Claim 20 (depends on 18)

The computer program product of claim 18, wherein the code is further executable by the controller to cause the controller to:
read the cartridge memory to obtain the beginning LPOS of the overwritten EOD;
reposition a tape head to a position at the beginning LPOS; and
read from the beginning LPOS to restore the HRTD from the overwritten EOD.
