TapeTrack Documentation

Because there is more to tape management than you ever realized

User Tools

Site Tools


cli:tmss10validatebarcode
 
 

TMSS10ValidateBarcode

Synopsis

TMSS10ValidateBarcode [-C Customer-ID] [-M Media-ID] [-S logon string]

Description

TMSS10ValidateBarcode will parse a list of volume Barcodes, outputting the Barcode rule the Barcode will be parsed under if valid.

Options

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.

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

  1. zero Program has ended successfully.
  2. non-zero Program has not ended successfully.

Environment

Files

stdout: Output Reports.
stderr: Diagnostic messages.
stdin: Program input.

Example

Command line syntax

TMSS10ValidateBarcode -S user:-password@server -C "US02" -M "LTO" 

Once you have run the above code, enter in the Barcodes to be parsed either manually, via cut and paste or Barcode scanner.

Output

             System: TapeTrack
 Report Description: Barcode Parse Report
    Production Time: Monday, November 27, 2017 - 11:18:23 (AUS Eastern Daylight Time)
       Report Width: 157 bytes
 
 Seq.   Barcode              C-ID M-ID V-ID       Rule Rule Description     Result
 ------ -------------------- ---- ---- ---------- ---- -------------------- ------------
111111L6
      2 111111L6             US02 LTO  111111L6     18 Generic *            Request OK
1234567890L6
      3 1234567890L6         US02 LTO  1234567890   18 Generic *            Request OK
Note the truncation of volume Barcodes over 10 characters.
Changelog
Cannot load rss feed.
cli/tmss10validatebarcode.txt · Last modified: 2022/05/31 03:00 by scunliffe