Table of Contents

Definition File

A Definition file is used by TapeTrack to define the format of imported data from files.

Definition files use a .ttidef prefix

Command Line programs that use a definition file will look for a file named default.ttidef in the running directory if no file name is specified in the program call.

Sample Definition File

default.ttidef

SetFile("Inventory.csv");

SetCSVDelimiter(",");

SetLiteral(CUSTOMER, "US01");
SetLiteral(MEDIA, "LTO");

Extract(VOLUME, 1, 25, 0);
RemoveSpaces(VOLUME);

Extract(REPOSITORY, 2, 20, 0);
RemoveSpaces(REPOSITORY);