engine:import:addtranslationfromfile
This is an old revision of the document!
Table of Contents
AddTranslationFromFile
Translate the value of a field based upon the current value of the field, where the current value can be loaded multiple times using the contents of a file.
Phase
This instruction is used by the TapeTrack Import Engine.
Syntax
AddTranslationFromFile(field, filterfile, translation);
string field;
string filterfile;
string translation;
field | The field to be translated. |
filterfile | A file containing filter values to compare against the current field value. |
translation | The new value of the field. This can either be a new literal value, or the original value with a prefix or suffix. |
See the notes section for AddTranslation.
Example
AddTranslation2FromFile: Append L3 to each VOLUME field if the value matches a pattern within a record of c:\data\LTO3Volumes.txt.
AddTranslationFromFile(VOLUME, “c:\data\LTO3Volumes.txt”, “*L3”); |
engine/import/addtranslationfromfile.1582506307.txt.gz · Last modified: 2025/01/21 22:07 (external edit)