concepts:definition_file
This is an old revision of the document!
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);
concepts/definition_file.1626924366.txt.gz · Last modified: 2025/01/21 22:07 (external edit)