Table of Contents
TMSS10LogStatsProcess
TMSS10LogStatsProcess processes a TapeTrack Statistics file, apply calculations and produce a report in XML format.
Synopsis
TMSS10LogStatsProcess [-M customer map file] [-N no xml preamble] [-P package map] [-X xml stylesheet] [-c config file] [-i input ttstats file] [-l list stats definition language syntax]
If an argument value starts with the value FI:
, the value for that attribute will be read from the file name specified immediately after it. For example, if a file named ACME_volumes has the content ACME_*.*
, specifying FI:/etc/ACME_volumes
will have the same effect as -V ACME.*.*
. Using FI:
to refer to a file for an attribute value works for all attributes.
If the pattern being matched starts with *LIST: then rather than matching the literal value, each record in the file specified as *LIST:filename will be tested. If one matches the match will succeed.
Options
-M
Customer Description Map File-N
No XML preamble (default = false)-P
Package Map File-X
XML Style Sheet (default = tapetrack.xslt)-c
Config File (default = default.ttsdef)-i
Input TTSTATS file-l
List Stats Definition Laguage syntax (default = false)
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
Example
Command line syntax
TMSS10LogStatsProcess -i 0001.ttstats -M customer.txt -P package.txt > Billing_0002.xml
Output
<?xml version="1.0" encoding="ISO8859-1" ?> <?xml-stylesheet type="text/xsl" href="tapetrack.xslt"?> <tapetrack_data> <item> <customer>0001</customer> <itemcode>Los Angeles STORAGE_OFFSITE</itemcode> <description>CONT Vault Storage Charge</description> <count>60</count> <cost>0.01</cost> <total>0.60</total> </item> <item> <customer>0002</customer> <itemcode>Los Angeles STORAGE_OFFSITE</itemcode> <description>LTO Vault Storage Charge</description> <count>160</count> <cost>0.01</cost> <total>1.60</total> </item> <item> <customer>0002</customer> <itemcode>Los Angeles MOVE_ONSITE</itemcode> <description>LTO Deliver to Customer </description> <count>4</count> <cost>10.90</cost> <total>10.90</total> </item> </tapetrack_data>
- Changelog
- Cannot load rss feed.