TapeTrack Documentation

Because there is more to tape management than you ever realized

User Tools

Site Tools


engine:import:settruncationchars

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
engine:import:settruncationchars [2018/08/14 23:30] – created dcummingengine:import:settruncationchars [2025/01/21 22:07] (current) – external edit 127.0.0.1
Line 1: Line 1:
-settruncationchars+====== SetTruncationChars ======
  
-==== SetTruncationChars ==== 
 Characters that should be used to determine when to truncate a field. Characters that should be used to determine when to truncate a field.
  
-==== Phase ====+===== Phase ====
 This instruction is used by the TapeTrack Import Engine. This instruction is used by the TapeTrack Import Engine.
  
-==== Syntax ==== +===== Syntax ===== 
-**SetTruncationChars**//(field, chars);//+''SetTruncationChars(field, chars);'' 
 + 
 +^ Variable ^ Type ^ Description ^ Min Length ^ Max Length ^ 
 +|field| String | The field for this instruction.| 1 | 128 | 
 +|chars| String | A string containing a list of characters which should be used for truncation.| 1 | 10 | 
 + 
 +===== Example =====
  
-string //field;//\\ +Truncate the field VOLUME at any character- or [**
-//string chars;//\\+
  
-|field| The field for this instruction.| +<code> 
-|chars| A string containing a list of characters which should be used for truncation.|+SetTruncationChars(VOLUME, "-["); 
 +</code>
  
-==== Example ==== +{{tag> import_engine sync_engine}}
-**SetTruncationChars: Truncate the field VOLUME at any character- or [** +
-|SetTruncationChars(VOLUME, "-[");|+
engine/import/settruncationchars.1534289426.txt.gz · Last modified: 2025/01/21 22:07 (external edit)