technote:tmss10volumedelete
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
technote:tmss10volumedelete [2019/03/04 23:14] – Scott Cunliffe | technote:tmss10volumedelete [2025/01/21 22:07] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== | + | ====== TMSS10VolumeDelete Examples ====== |
- | Files needed to delete Volumes from a defined list from nominated Customer-ID and Media-ID. | + | Files needed to delete |
+ | ===== Examples | ||
+ | |||
+ | ==== Delete Volumes From CSV List ==== | ||
+ | |||
+ | Delete [[object: | ||
Files Required: | Files Required: | ||
- | * CSV file of required Volumes | + | * CSV file of required |
* Configuration file | * Configuration file | ||
* TTIDEF definition file | * TTIDEF definition file | ||
- | |||
- | ===== Example - Delete Volumes From CSV List ===== | ||
==== CSV File ==== | ==== CSV File ==== | ||
Line 15: | Line 18: | ||
CSV File **volumes.csv** | CSV File **volumes.csv** | ||
- | <sxh> | + | <code> |
100011L4 | 100011L4 | ||
100012L4 | 100012L4 | ||
Line 21: | Line 24: | ||
100025L4 | 100025L4 | ||
100026L4 | 100026L4 | ||
- | </sxh> | + | </code> |
==== TTIDEF File ==== | ==== TTIDEF File ==== | ||
Line 27: | Line 30: | ||
TTIDEF File **default.ttidef** | TTIDEF File **default.ttidef** | ||
- | Set CSV delimiter to comma, Customer-ID to US01, Media-ID to LTO and extract Barcode value from column one. | + | Set CSV delimiter to comma, |
- | <sxh> | + | <code> |
SetCSVDelimiter("," | SetCSVDelimiter("," | ||
Line 37: | Line 40: | ||
Extract(BARCODE, | Extract(BARCODE, | ||
- | </sxh> | + | </code> |
==== Configuration File ==== | ==== Configuration File ==== | ||
- | Load Scanfile of Volume-ID' | + | Load Scanfile of [[object: |
- | If Volume-ID is present in the Scanfile delete Volume, if not skip Volume. | + | If [[object: |
Configuration File **master.cfg** | Configuration File **master.cfg** | ||
- | <sxh> | + | <code> |
report = | report = | ||
{ | { | ||
Line 80: | Line 83: | ||
); | ); | ||
}; | }; | ||
- | </sxh> | + | </code> |
==== Command Line Syntax ==== | ==== Command Line Syntax ==== | ||
- | Delete all volumes | + | Delete all [[object: |
- | <sxh> | + | <code> |
TMSS10VolumeDelete -S user: | TMSS10VolumeDelete -S user: | ||
- | </sxh> | + | </code> |
+ | {{tag> |
technote/tmss10volumedelete.1551741274.txt.gz · Last modified: 2025/01/21 22:07 (external edit)