For each tape volume, the following data-related columns are tracked
in the DB2 TAPEVOL table in kilobytes:
- The capacity of the tape volume
- The free space on the tape volume
- The number of logical bytes written to a tape volume
- The number of physical bytes written to a tape volume
- The number of logical bytes deleted from a tape volume
With larger capacity tapes, the possibility exists that these fields
may overflow their signed 4-byte value. To handle this situation,
five overflow-related columns (one for each of the columns above)
now exist in the DB2 TAPEVOL table to account for the number of overflow
KBs (in 2 GB increments). The overflow field will indicate the number
of times the main 4-byte field has overflowed. The following example
illustrates the logic that is implemented using the number of logical
bytes written: