| Both sides previous revisionPrevious revisionNext revision | Previous revision |
| variable:tmsslevelnames [2019/03/27 17:52] – [Output] dcumming | variable:tmsslevelnames [2025/01/21 22:07] (current) – external edit 127.0.0.1 |
|---|
| ====== TMSSLEVELNAMES ====== | ====== TMSSLEVELNAMES ====== |
| |
| **TMSSLEVELNAMES ** allows, via configuration files or command line interface, to map Zone level numbers to string values. | |
| | |
| | The [[variable:start|Environmental Variable]] ''TMSSLEVELNAMES'' allows, via Configuration files or [[cli:introduction|Command Line Programs]], to map [[object:zone|Zone]] level numbers to String values. |
| |
| ===== Example ===== | ===== Example ===== |
| |
| Using TMSS10Inventory to display LTO volumes currently at repository OFFS from customer US04. | Using [[cli:tmss10inventory|TMSS10Inventory]] to display LTO [[object:volume|Volumes]] currently at [[object:repository|Repository]] OFFS from [[object:customer|Customer]] US04. |
| |
| <sxh> | <code> |
| TMSS10Inventory -S user:-password@server -V "US04.LTO.*@OFFS" | TMSS10Inventory -S user:-password@server -V "US04.LTO.*@OFFS" |
| </sxh> | </code> |
| |
| |
| ==== Output ==== | ==== Output ==== |
| |
| <sxh> | <code> |
| |
| System: TapeTrack | System: TapeTrack |
| 4 US04.LTO.000004L5 GT1 [1.5] Offsite Vault [5] 2018-06-18 10:13 5 1 | 4 US04.LTO.000004L5 GT1 [1.5] Offsite Vault [5] 2018-06-18 10:13 5 1 |
| ------ -------------------- ------------------------------ ------------------------------ ---------- ---------- ---------------- ---- ---- -------------------- | ------ -------------------- ------------------------------ ------------------------------ ---------- ---------- ---------------- ---- ---- -------------------- |
| </sxh> | </code> |
| |
| |
| Setting TMSSLEVELNAMES to A, B, C before running TMSS10Inventory to change level names from 1, 2, 3 etc. | Setting ''TMSSLEVELNAMES'' to ''A, B, C'' before running [[cli:tmss10inventory|TMSS10Inventory]] to change level names from 1, 2, 3 etc. |
| TMSS10Inventory to display LTO volumes currently as repository OFFS from customer US04. | [[cli:tmss10inventory|TMSS10Inventory]] to display LTO [[object:volume|Volumes]] currently as [[object:repository|Repository]] OFFS from [[object:customer|Customer]] US04. |
| <note tip>When setting variables makes sure there are no spaces. For example use **set TMSSLEVELNAMES=A,B,C** not **set TMSSLEVELNAMES = A,B,C**</note> | |
| | |
| <sxh> | |
| |
| | <code> |
| set TMSSLEVELNAMES=A,B,C | set TMSSLEVELNAMES=A,B,C |
| TMSS10Inventory -S user:-password@server -V "US04.LTO.*@OFFS" | TMSS10Inventory -S user:-password@server -V "US04.LTO.*@OFFS" |
| | </code> |
| </sxh> | |
| |
| ==== Output ==== | ==== Output ==== |
| |
| <sxh> | <code> |
| |
| System: TapeTrack | System: TapeTrack |
| 4 US04.LTO.000004L5 GT1 [A.5] Offsite Vault [5] 2018-06-18 10:13 5 1 | 4 US04.LTO.000004L5 GT1 [A.5] Offsite Vault [5] 2018-06-18 10:13 5 1 |
| ------ -------------------- ------------------------------ ------------------------------ ---------- ---------- ---------------- ---- ---- -------------------- | ------ -------------------- ------------------------------ ------------------------------ ---------- ---------- ---------------- ---- ---- -------------------- |
| </sxh> | </code> |
| |
| |
| ==== See Also ==== | ===== See Also ===== |
| * [[variable:TMSSNOLEVELSLOT|TMSSNOLEVELSLOT]] | * [[variable:TMSSNOLEVELSLOT|TMSSNOLEVELSLOT]] |
| | * [[technote:setting_environmental_variables|Setting Environmental Variables]] |
| |
| {{tag>environmental_variables connecting}} | {{tag>environmental_variables connecting lite_variable}} |
| |
| <- ^ variable:start |Introduction ^ -> | <- ^ variable:start |Introduction ^ -> |
| |