Translate the value of a field based upon the value of another field.
This instruction is used by the TapeTrack Import Engine.
AddTranslation2(field, field2, filter, translation);
Variable | Type | Description | Min Length | Max Length |
---|---|---|---|---|
field | String | The field to be translated. | 1 | 128 |
field2 | String | The field to be compared using the filter. | 1 | 128 |
filter | String | A filter to compare against the current field value. | 1 | 256 |
translation | String | The new value of the field. This can either be a new literal value, or the original value with a prefix or suffix. To represent the current value use an asterisk (“*”). | 1 | 256 |
Append L3 to each VOLUME field value of USER1 is HCART3.
AddTranslation2(VOLUME, USER1, "HCART3", "*L3");