engine:import:addtranslationfromfile
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| engine:import:addtranslationfromfile [2018/08/14 22:29] – created dcumming | engine:import:addtranslationfromfile [2025/01/21 22:07] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | addtranslationfromfile | + | ====== AddTranslationFromFile ====== |
| - | ==== 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. | 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 ==== | + | |
| + | ===== Phase ===== | ||
| This instruction is used by the TapeTrack Import Engine. | This instruction is used by the TapeTrack Import Engine. | ||
| - | ==== Syntax ==== | + | ===== Syntax |
| - | **AddTranslationFromFile**//(field, filterfile, translation); | + | '' |
| - | //string field;// | + | ^ Variable ^ Type ^ Description ^ Min Length ^ Max Length ^ |
| - | //string filterfile;// | + | |field| String |
| - | //string translation;// | + | |filterfile |
| - | + | |translation| String | |
| - | |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.| | + | |
| < | < | ||
| - | ==== Example ==== | + | ===== Example |
| - | **AddTranslation2FromFile: | + | |
| - | |AddTranslationFromFile(VOLUME, | + | Append L3 to each VOLUME field if the value matches a pattern within a record of c: |
| + | |||
| + | < | ||
| + | AddTranslationFromFile(VOLUME, | ||
| + | </ | ||
| + | |||
| + | ===== See Also ===== | ||
| + | |||
| + | [[engine: | ||
| + | [[cli: | ||
| + | [[cli: | ||
| + | |||
| + | {{tag> import_engine sync_engine}} | ||
engine/import/addtranslationfromfile.1534285783.txt.gz · Last modified: 2025/01/21 22:07 (external edit)
