Getting usage help (clf), Return values – HP StoreEver TapeAssure Software User Manual
Page 97

L&TT is run from removable media, such as a USB flash drive
or CD.
When running L&TT from the system installation directory, if
dirpath
is specified and instname is not specified, the
L&TT runtime files will be created in the dirpath directory.
Otherwise, if dirpath is specified, the L&TT runtime files will
be created in
filename
Specify the name of the XML file that is created after
conversion.
Examples
In Windows, to convert a support ticket
"st_HPUltrium_5-SCSI_20110304_100315_HU10028CWM.lzt" to a XML
support ticket:
hp_ltt -f xmlticket file="C:\Program
Files\Hewlett-Packard\HP Library and Tape
Tools\logs\st_HPUltrium_5-SCSI_20110304_100315_HU10028CWM.lzt"
dirpath="C:\temp" filename="sticket.xml"
In UNIX , to convert a support ticket
"st_HPUltrium_5-SCSI_20110304_100315_HU10028CWM.lzt" to a XML
support ticket:
./hp_ltt -f xmlticket
file=/opt/ltt/logs/st_HPUltrium_5-SCSI_20110304_100315_HU10028CWM.lzt
filename=sticket.xml
Getting usage help (CLF)
Description
L&TT can write a help file containing usage information for the command line
functionality. When hp_ltt –help is executed, L&TT creates the help file,
ltt_usage.txt
, in the L&TT installation directory.
Syntax
hp_ltt -help
Return values
When an operation is performed from the command line, L&TT returns a value indicating success
or failure. Depending on the operation performed, the value returned has different meanings.
When L&TT is run from a script, a return value greater than 0 indicates an error condition.
Return values are as follows:
Generic
Success
0
Abnormal exit/operation failure
1
Tests
Success
0
Abnormal exit/operation failure
1
Invalid test name specified
2
Passed with warnings
3
Failed
4
Firmware
Success
0
Abnormal exit/operation failure
1
Return values
97