TapeTrack Documentation

Because there is more to tape management than you ever realized

User Tools

Site Tools


variable:tmsscmdstring

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
variable:tmsscmdstring [2020/04/20 03:42] – [Example] Scott Cunliffevariable:tmsscmdstring [2025/01/21 22:07] (current) – external edit 127.0.0.1
Line 11: Line 11:
  
  
-<sxh>+<code>
  
              System: TapeTrack              System: TapeTrack
Line 41: Line 41:
  -------------------- -------------------- ----------   -------------------- -------------------- ---------- 
  
-</sxh>+</code>
  
-When the [[start:variables|Variable]] ''TMSSCMDSTRING'' is set before the execution of the [[cli:introduction|Command Line Utilities]] (in this example [[cli:tmss10movelist|TMSS10MoveList]]) it modifies the output from the standard report, to that of a custom string that can include output variables.+When the [[variable:start|Variable]] ''TMSSCMDSTRING'' is set before the execution of the [[cli:introduction|Command Line Utilities]] (in this example [[cli:tmss10movelist|TMSS10MoveList]]) it modifies the output from the standard report, to that of a custom string that can include output variables.
  
 Setting ''TMSSCMDSTRING'' to create an ejection script for a TSM instance, listing all [[object:volume|Volume-ID's]] that need to be ejected for processing and transport to the Vault. Setting ''TMSSCMDSTRING'' to create an ejection script for a TSM instance, listing all [[object:volume|Volume-ID's]] that need to be ejected for processing and transport to the Vault.
Line 49: Line 49:
  
  
-<sxh>+<code>
 set TMSSCMDSTRING=checkout libvol DC1_LIB0 $volume-id checklabel=yes remove=yes set TMSSCMDSTRING=checkout libvol DC1_LIB0 $volume-id checklabel=yes remove=yes
-</sxh>+</code>
  
 When [[cli:tmss10movelist|TMSS10MoveList]] is executed, the output will print out the assigned string, exchanging the variable $volume-id with the current [[object:volume|Volume-ID]]. When [[cli:tmss10movelist|TMSS10MoveList]] is executed, the output will print out the assigned string, exchanging the variable $volume-id with the current [[object:volume|Volume-ID]].
Line 57: Line 57:
 The resulting output will now be: The resulting output will now be:
  
-<sxh>+<code>
 checkout libvol DC1_LIB0 210498L6 checklabel=yes remove=yes checkout libvol DC1_LIB0 210498L6 checklabel=yes remove=yes
 checkout libvol DC1_LIB0 210701L6 checklabel=yes remove=yes checkout libvol DC1_LIB0 210701L6 checklabel=yes remove=yes
 checkout libvol DC1_LIB0 210959L6 checklabel=yes remove=yes checkout libvol DC1_LIB0 210959L6 checklabel=yes remove=yes
 checkout libvol DC1_LIB0 211049L6 checklabel=yes remove=yes checkout libvol DC1_LIB0 211049L6 checklabel=yes remove=yes
-</sxh>+</code>
  
 +
 +===== Variables =====
  
 Variables available include: Variables available include:
variable/tmsscmdstring.1587354157.txt.gz · Last modified: 2025/01/21 22:07 (external edit)