This is an old revision of the document!
Table of Contents
TMSS10Inventory
Synopsis
TMSS10Inventory [-A attribute index] [-M mode] [-N no relative resolve] [-R output a scan list file] [-S logon string] [-V volume filter] [-c configuration file]
Description
TMSS10Inventory produces an Inventory Report of all selected Volumes.
By default, this program accepts pairs of integers as arguments, with each successive pair representing the next column within a CSV file.
The first integer is the zero-based offset within the output file, and the second is the length of the field that is output.
Alternatively, if the first argument of the first pair contains a colon, the integer on the left-hand side of the colon will set the relative column, and any future pair will be offset from that column. In the event that other pairs also start with a colon, this too will set the column and future columns from that column index.
In the event that the program is run with no arguments, the program will display a suggested calling syntax taking into account the maximum values calculated by processing the supplied data.
Options
-A
Attribute Index (default = 0)-M
Sets the output mode.-N
No relative resolve.-R
Outputs results to a scan list file.-S
The logon string argument sets the Server logon information.-V
Volume Filter which can be used to filter the traversal of Customer, Media, Volume, repository and flag values.-c
The config file argument specifies the path to the Batch Configuration File. The Batch Configuration File allows you to perform advanced traversal of Customer, Media and Volumes, perform advanced Barcode pre and post-processing and route program output to syslogd.
Notes
Running TMSS10Inventory in mode 1 (default) will produce a report with the values: Sequence, Barcode, Location, Repository, Next Move, Days, Last Move, GDup, CDup and Container.
Running TMSS10Inventory in mode 2 will produce a report with the values: Sequence, Customer, Media, Total and Moving total.
Technical Support
The TapeTrack Software is commercially supported by a full-time help desk staff. If you are experiencing problems or want some advice on how to configure or use the product please see the Accessing Technical Support page.
Exit Statuses
- zero Program has ended successfully.
- non-zero Program has not ended successfully.
Environment
Files
stdout: Output Reports.
stderr: Diagnostic messages.
stdin: Program input.
Example
Customer US03 LTO inventory - Report Format 1
Command line syntax
TMSS10Inventory -S user:-password@server -V "US03.LTO.*" -M 1
Output
System: TapeTrack Report Description: Inventory List Report Notes: Customer(North Carolina Data Center) Media Type(LTO Cartridge) Production Time: Wednesday, September 27, 2017 - 12:27:33 (AUS Eastern Standard Time) Report Width: 161 bytes Seq. Barcode Location Repository Next Move Days Last Move GDup CDup Container ------ -------------------- ------------------ ------------------ ---------- ------ ---------------- ---- ---- -------------------- 1 US03.LTO.000000L5 1:2 [1.1] Offsite Vault [21] 2017-07-28 01:26 1 1 2 US03.LTO.000001L5 1:2 [1.2] Offsite Vault [22] 2017-07-28 01:26 1 1 3 US03.LTO.000002L5 No-Alloc [0] Library 2017-07-28 01:26 1 1 4 US03.LTO.000003L5 1:2 [1.3] Offsite Vault [23] 2017-07-28 02:03 1 1 5 US03.LTO.000004L5 1:2 [1.4] Offsite Vault [24] 2017-07-28 01:26 1 1 6 US03.LTO.000005L5 No-Alloc [0] Library 2017-07-28 02:04 1 1 7 US03.LTO.000006L5 No-Alloc [0] Library 2017-07-28 01:26 1 1 8 US03.LTO.000007L5 No-Alloc [0] Library 2017-07-28 01:26 1 1 9 US03.LTO.000008L5 No-Alloc [0] Library 2017-07-28 01:26 1 1 10 US03.LTO.000009L5 No-Alloc [0] Library 2017-07-28 01:26 1 1 11 US03.LTO.000010L5 No-Alloc [0] Library 2017-07-28 01:26 1 1 12 US03.LTO.000011L5 No-Alloc [0] Library 2017-07-28 01:26 1 1 13 US03.LTO.000012L5 No-Alloc [0] Library 2017-07-28 01:26 1 1 14 US03.LTO.000014L5 No-Alloc [0] Library 2017-07-28 01:26 1 1 15 US03.LTO.000015L5 No-Alloc [0] Library 2017-07-28 01:26 1 1 16 US03.LTO.000016L5 No-Alloc [0] Library 2017-07-28 01:26 1 1 17 US03.LTO.000017L5 No-Alloc [0] Library 2017-07-28 01:26 1 1 18 US03.LTO.000018L5 No-Alloc [0] Library 2017-07-28 01:26 1 1 19 US03.LTO.000019L5 No-Alloc [0] Library 2017-07-28 01:26 1 1 20 US03.LTO.000020L5 No-Alloc [0] Library 2017-06-08 05:58 1 1 21 US03.LTO.000021L5 No-Alloc [0] Library 2017-06-08 06:01 1 1 22 US03.LTO.000022L5 No-Alloc [0] Library 2017-07-11 01:45 1 1 23 US03.LTO.000023L5 No-Alloc [0] Library 1 1 -----------------------------------------------------------------------------------------------------------------
Customer US03 LTO inventory - Report Format 2
Command line syntax
TMSS10Inventory -S user:-password@server -V "US03.LTO.*" -M 2
Output
System: TapeTrack Report Description: Volume Inventory Extract Production Time: Wednesday, September 27, 2017 - 12:28:26 (AUS Eastern Standard Time) Report Width: 92 bytes Seq. Customer Media Total Moving ------ ---------------------------------------- -------------------- ---------- ---------- 1 North Carolina Data Center LTO Cartridge 102 20