TapeTrack Documentation

Because there is more to tape management than you ever realized

User Tools

Site Tools


engine:import:setliteral

Differences

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

Link to this comparison view

Next revision
Previous revision
engine:import:setliteral [2018/08/14 22:58] – created dcummingengine:import:setliteral [2025/01/21 22:07] (current) – external edit 127.0.0.1
Line 1: Line 1:
-setliteral +====== SetLiteral ======
- +
-==== SetLiteral ====+
 Set a field to a literal value. Set a field to a literal value.
  
-==== Phase ====+===== Phase =====
 This instruction is used by the TapeTrack Import Engine. This instruction is used by the TapeTrack Import Engine.
  
-==== Syntax ==== +===== Syntax =====
-**SetLiteral**//(field, value);//+
  
-string //field;//\\ +''SetLiteral(fieldvalue);''
-string //value;//\\+
  
-|field| The field name to set.| +^ Variable ^ Type ^ Description ^ Min Length ^ Max Length ^ 
-|value| The field value to be set.|+|field| String|The field name to set.|1|128
 +|value| String|The field value to be set.|1|100|
  
 ==== Example ==== ==== Example ====
-**SetLiteral: Set field REPOSITORY to literal ACME.** +Set field REPOSITORY to ''ACME''
-|SetLiteral(REPOSITORY, "ACME");|+ 
 +<code> 
 +SetLiteral(REPOSITORY, "ACME"); 
 +</code> 
 + 
 +===== See Also ===== 
 + 
 +[[engine:import|Import Engine Functions]] \\ 
 +[[cli:sync_fields|Sync Engine Fields]] \\ 
 +[[cli:tmss10sync|TMSS10Sync]] 
 +{{tag> import_engine sync_engine}}
engine/import/setliteral.1534287492.txt.gz · Last modified: 2025/01/21 22:07 (external edit)