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
technote/command_line_diagnosis.1751598647.txt.gz · Last modified: 2025/07/04 03:10 by Scott Cunliffe