TapeTrack Documentation

Because there is more to tape management than you ever realized

User Tools

Site Tools


technote:command_line_diagnosis

This is an old revision of the document!


Diagnosing Command Line Utilities

All TapeTrack command line utilities have dual output streams when executed.

The stdout stream is used to pass the report or output from the utility, eg using TMSS10Inventory, the stdout stream passes the inventory report to the command prompt window, or file if the stream is redirected.

Sample Output

             System: TapeTrack
          Report ID: 100
 Report Description: Inventory List
    Production Time: Friday, July 04, 2025 - 13:08:27 (AUS Eastern Standard Time)
       Report Width: 164 bytes

 Seq.   Barcode              Location                       Repository                     Expiry     Next Move  Last Move           GDup CDup Container
 ------ -------------------- ------------------------------ ------------------------------ ---------- ---------- ------------------- ---- ---- -------------------
      1 US01.DLT.100224J6    No-Alloc [0]                   Library                        Permanent  Permanent                         1    1
      2 US01.DLT.100248J6    No-Alloc [0]                   Library                        Permanent  Permanent                         1    1
      3 US01.DLT.100256J6    No-Alloc [0]                   Library                        Permanent  Permanent                         1    1
      4 US01.DLT.100542J6    No-Alloc [0]                   Library                        Permanent  Permanent                         1    1
 ------ -------------------- ------------------------------ ------------------------------ ---------- ---------- ------------------- ---- ---- --------------------

The stderr stream is used to provide diagnostic information and error messages, eg. using TMSS10Inventory, the stderr stream has information on the program, server statistics, attributes passed for execution, log in details and any errors that have occured.

Sample Output

ZBT001N-13:05:14 TMSS10Inventory (c) GazillaByte 1998-2025
ZBT002N-13:05:14 Compiled Mar 15 2025 at 17:29:21
ZBT010I-13:05:14 this program produces an Inventory Report of all selected Volumes
ZBT006N-13:05:14 Running Under Microsoft Windows (10.0.26100.4202 Desktop)
ZBT000N-13:05:14 Host is Little Endian
ZBT000N-13:05:14 Host is ASCII
ZBT000N-13:05:14 Binary is 64 bit
ZBT000N-13:05:14 Current Working Directory is C:\Users\diffl\OneDrive\Desktop\temp\TMSS10Reconcile
ZBT000N-13:05:14 Executing Module is C:\Program Files\TapeTrack\TapeTrack Server Utilities\bin\tapetrack\TMSS10Inventory.exe
ZBT004N-13:05:14 Today is Friday, July 04, 2025
ZBT005N-13:05:14 Running on GazillaByte
ZBT006N-13:05:14 Process ID 45252
ZBT000N-13:05:14 Parsing and validating command arguments
ZBT002N-13:05:14 Program Options:
ZBT002N-13:05:14        (A) Attribute Index=
ZBT002N-13:05:14        (M) Mode=1
ZBT002N-13:05:14        (N) No Relative Resolve=false
ZBT002N-13:05:14        (R) Output a Scan List File=false
ZBT002N-13:05:14        (S) Server=batch@127.0.0.1:5000
ZBT002N-13:05:14        (V) Volume Filter=*.*.*
ZBT002N-13:05:14        (c) Configuration File=
ZBT002N-13:05:14        (e) Calculate Expiry Date=false
ZBT000N-13:05:14 Arguments parsed and validated with 0 errors
ZBT001N-13:05:14 Password value is empty so checking for environment variable (TMSSPWPATH)
ZBT001W-13:05:14 No password file passed, defaulting to: C:/tapetrack/pw/batch
ZBT001N-13:05:14 Getting password from Password File: C:/tapetrack/pw/batch
ZBT001E-13:05:14 Failed to open Password File: No such file or directory
ZBT900N-13:05:14 Program Complete
ZBT901N-13:05:14 Elapsed time 0 minutes and 0 seconds
ZBT000N-13:05:14 Total Read Operations 2 (7,496 bytes)
ZBT000N-13:05:14 Total Write Operations 1 (160 bytes)
ZBT991N-13:05:14 CRC values for this session: 0xe26daf23 (0x401b0ef9)
ZBT992N-13:05:14 Number of records written: 31
ZBT993N-13:05:14 Number of bytes written: 1,739
ZBT999N-13:05:14 Program ended with RC=1 (Failure)
technote/command_line_diagnosis.1751598590.txt.gz · Last modified: 2025/07/04 03:09 by Scott Cunliffe