TapeTrack Documentation

Because there is more to tape management than you ever realized

User Tools

Site Tools


engine:sync:setinitialrepository

Differences

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

Link to this comparison view

Next revision
Previous revision
engine:sync:setinitialrepository [2018/08/14 17:32] – created dcummingengine:sync:setinitialrepository [2025/01/21 22:07] (current) – external edit 127.0.0.1
Line 1: Line 1:
-setinitialrepository +====== SetInitialRepository ====== 
-==== SetInitialRepository ====+
 Set the Current, Target and Scanned Repository value for newly added Volumes. Set the Current, Target and Scanned Repository value for newly added Volumes.
  
-==== Phase ====+===== Phase ====
  
 This instruction is used by the TapeTrack Synchronization Engine. This instruction is used by the TapeTrack Synchronization Engine.
  
-==== Syntax ====+===== Syntax =====
  
-**SetInitialRepository**//(repository);// +''SetInitialRepository(repository);'' 
-//string repository;//\\+ 
 + 
 +^ Variable ^ Type ^ Description ^ Min Length ^ Max Length ^ 
 +|repository|String| The initial Repository values for a new Volume.|1|4|
  
-|repository| The initial Repository values for a new Volume.| 
 <note tip> <note tip>
 If the Media Type for the added Volume has an Initial Repository value set in its options, this value will override any value set by SetInitialRepository.</note> If the Media Type for the added Volume has an Initial Repository value set in its options, this value will override any value set by SetInitialRepository.</note>
  
-==== Example ==== +===== Example ===== 
-**SetInitialRepository: Set the initial Repository values to LIBR.** + 
-|SetInitialRepository("LIBR");Set the initial Repository values to LIBR.|+Set the initial Repository for any new Volumes to LIBR. 
 + 
 +<code> 
 +SetInitialRepository("LIBR");  
 + 
 +</code> 
 + 
 +===== See Also ===== 
 + 
 +[[engine:import|Import Engine Functions]] \\ 
 +[[cli:sync_fields|Sync Engine Fields]] \\ 
 +[[cli:tmss10sync|TMSS10Sync]] 
 + 
 +{{tag> import_engine sync_engine}}
engine/sync/setinitialrepository.1534267936.txt.gz · Last modified: 2025/01/21 22:07 (external edit)