| Both sides previous revisionPrevious revisionNext revision | Previous revision |
| variable:tmsslevelnames [2018/06/18 01:27] – [Example] Scott Cunliffe | 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 levels 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 as 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 [[cli:tmss10inventory|TMSS10Inventory]] to change level names from 1, 2, 3 etc. |
| | [[cli:tmss10inventory|TMSS10Inventory]] to display LTO [[object:volume|Volumes]] currently as [[object:repository|Repository]] OFFS from [[object:customer|Customer]] US04. |
| | |
| | <code> |
| | set TMSSLEVELNAMES=A,B,C |
| | TMSS10Inventory -S user:-password@server -V "US04.LTO.*@OFFS" |
| | </code> |
| | |
| | ==== Output ==== |
| | |
| | <code> |
| | |
| | System: TapeTrack |
| | Report Description: Inventory List |
| | Report Notes: Customer(Nashville Data Center) Media Type(LTO Cartridge) |
| | Production Time: Monday, June 18, 2018 - 11:31:27 (AUS Eastern Standard Time) |
| | Report Width: 161 bytes |
| | |
| | Seq. Barcode Location Repository Next Move Days Last Move GDup CDup Container |
| | ------ -------------------- ------------------------------ ------------------------------ ---------- ---------- ---------------- ---- ---- -------------------- |
| | 1 US04.LTO.000001L5 GT1 [A.1] Offsite Vault [1] 2018-06-18 10:13 6 2 |
| | 2 US04.LTO.000002L5 GT1 [A.2] Offsite Vault [2] 2018-06-18 10:13 5 1 |
| | 3 US04.LTO.000003L5 GT1 [A.3] Offsite Vault [3] 2018-06-18 10:13 5 1 |
| | 4 US04.LTO.000004L5 GT1 [A.5] Offsite Vault [5] 2018-06-18 10:13 5 1 |
| | ------ -------------------- ------------------------------ ------------------------------ ---------- ---------- ---------------- ---- ---- -------------------- |
| | </code> |
| | |
| | |
| | ===== See Also ===== |
| | * [[variable:TMSSNOLEVELSLOT|TMSSNOLEVELSLOT]] |
| | * [[technote:setting_environmental_variables|Setting Environmental Variables]] |
| | |
| | {{tag>environmental_variables connecting lite_variable}} |
| | |
| | <- ^ variable:start |Introduction ^ -> |
| |