TapeTrack Documentation

Because there is more to tape management than you ever realized

User Tools

Site Tools


technote:tmss10volumedelete

This is an old revision of the document!


Technical Note: TMSS10Volume Delete Examples

Example - Delete Volumes From CSV List

CSV File

100011L4
100012L4
100023L4
100025L4
100026L4

TTIDEF File

SetCSVDelimiter(",");

SetLiteral(CUSTOMER, "US04");
SetLiteral(MEDIA, "LTO");

Extract(BARCODE, 1, 8, 0);

Configuration File

Load Scanfile of Volume-ID's, traverse input file. If Volume-ID is present in the Scanfile delete Volume, if not skip Volume. <sxh> report = { format = “csv”; }; traversal = { scanfile= { file=“default.ttidef”; }; customer = ( { id=“*”; media = ( { id=“*”; volume = ( { id=“*”; scanfile = true; skip=false; }, { id=“*”; skip=true; } ); } ); } ); }; </sxh>

technote/tmss10volumedelete.1551740194.txt.gz · Last modified: 2025/01/21 22:07 (external edit)