TapeTrack Documentation

Because there is more to tape management than you ever realized

User Tools

Site Tools


variable:tmssreportcolumndelete

Differences

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

Link to this comparison view

Next revision
Previous revision
variable:tmssreportcolumndelete [2018/06/28 12:58] – created Gerard Nicolvariable:tmssreportcolumndelete [2025/01/21 22:07] (current) – external edit 127.0.0.1
Line 1: Line 1:
 ====== TMSSREPORTCOLUMNDELETE ====== ====== TMSSREPORTCOLUMNDELETE ======
  
-This variable can be used to remove columns from a Command Line Report.+This [[variable:start|Environmental Variable]] ''TMSSREPORTCOLUMNDELETE'' can be used to remove columns from a [[cli:introduction|Command Line Program]] output.
  
-To remove columns, set the variable to an array of comma delimited integers, each representing a column that you would like to remove.+To remove columns, set the variable to an array of comma delimited Integers, each representing a column that you would like to remove.
  
-To remove columns 3 and 4 use TMSSREPORTCOLUMNDELETE=3,4.+TMSSREPORTCOLUMNDELETE will remove the specified columns from all reports.  In reports that combine multiple reports like TMSS10ListMoveHistory, adding the report ID to TMSSREPORTCOLUMNDELETE will only affect that report (eg. TMSSREPORTCOLUMNDELETE120). 
 + 
 +<note tip>The maximum Integer number is ''32''. If the value exceeds the number of columns in the report, or if the value exceeds **32**, the Integer is ignored. 
 + 
 + 
 +The sequence of the array of Integers is not important.</note> 
 + 
 + 
 +===== Example ===== 
 + 
 +To remove columns 3 and 4 
 + 
 +==== Windows Command Line ==== 
 + 
 +<code> 
 +set TMSSREPORTCOLUMNDELETE=3,4 
 +</code> 
 + 
 + or to localise the column removal from report 120 only 
 + 
 +<code> 
 +set TMSSREPORTCOLUMNDELETE120=3,
 +</code> 
 +==== Windows PowerShell ==== 
 + 
 +<code> 
 +$env:TMSSREPORTCOLUMNDELETE = "3,4" 
 +</code> 
 + 
 + or to localise the column removal from report 120 only 
 + 
 +<code> 
 +$env:TMSSREPORTCOLUMNDELETE120 = "3,4" 
 +</code> 
 + 
 +==== Linux ==== 
 + 
 +<code> 
 +export TMSSREPORTCOLUMNDELETE=3,
 +</code> 
 + 
 +or to localise the column removal from report 120 only 
 + 
 +<code> 
 +export TMSSREPORTCOLUMNDELETE120=3,
 +</code> 
 +===== See Also ===== 
 + 
 +  * [[variable:tmssreportformat|TMSSREPORTFORMAT]] 
 +  * [[technote:setting_environmental_variables|Setting Environmental Variables]] 
 + 
 +{{tag>environmental_variables printing pdf excel text html csv}} 
 + 
 +<-  ^ variable:start |Introduction ^ ->
  
variable/tmssreportcolumndelete.1530190723.txt.gz · Last modified: 2025/01/21 22:07 (external edit)