TapeTrack Documentation

Because there is more to tape management than you ever realized

User Tools

Site Tools


technote:long_barcodes

This is an old revision of the document!


Dealing With Barcodes Longer Than 10 Characters In Length

TapeTrack has a Volume-ID limit of 10 characters in length. Any volumes with an ID longer than 10 characters must be modified to fit within this criteria.

There are several ways in which can be achieved, such as truncation, translation or hashing.

Truncation

Truncating a barcode, or volume-ID, involves trimming off the start or end down to 10 or fewer characters.

Truncating a barcode can be achieved by several different methods.

Truncation Via The Scan In Window

Barcodes can be truncated via the TapeTrack Scan window in TapeMaster, Lite and Checkpoint.

This method only truncates volume-ID's through the scan window

Information on truncating a barcode via the scan window can be found here.

Truncation Via Media Properties In TapeMaster

Truncation of a barcode by removing the suffix (eg removing L6 from 1234567890L6) can be achieved by setting the Remove Suffix option in the media properties via TapeMaster.

This method will truncate all matching volume-ID's regardless of length and will only act on the suffix

Truncating a barcode via the media properties tab. Adding L6 in the Remove Suffix field will remove L6 from any matching volume-ID (eg removing L6 from 1234567890L6) regardless of barcode length.

Adding L* will remove any 2 digit suffix from the volume-ID that starts with L (eg 123456L6 will truncate to 123456, 1000000001L3 will truncate to 1000000001)

Translation

Translating a barcode, or volume-ID, involves swapping a recognisable pattern for an alternate value within the 10 character limit via translation statements in a ttidef file.

This method works with command line programs, such as TMSS10Sync, via ttidef file statements as well as through configuration files in TapeMaster, Lite and Checkpoint.

Using a translation statement AddTranslation(VOLUME, “A6??????????”, “^^~~~~~~~~~~”); in the ttidef file, any 12 character volume-ID starting with A6, such as A61234567890, will drop the first two characters and keep the next 10, inputting as 1234567890.

Hashing

Hashing a barcode, or volume-ID, involves replacing the barcode with its 8 character hashed value, preceded by the value #- to allow identification that the volume-ID has been hashed. It is a good practice to put the true, or un-hashed, barcode in the attribute field to enable a human readable value as well as the hashed volume-ID.

Hashing a barcode that has a space in the middle, such as Monday 1, is the simplest method (spaces are not permitted in volume-ID's) for translation to an acceptable value.

Barcodes can be hashed via ttidef files for command line programs as well as through configuration files in TapeMaster, Lite and Checkpoint.
technote/long_barcodes.1529454188.txt.gz · Last modified: 2025/01/21 22:07 (external edit)