cli:tmss10batchloader
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| cli:tmss10batchloader [2019/02/25 00:09] – Scott Cunliffe | cli:tmss10batchloader [2025/07/04 04:42] (current) – [Example] Scott Cunliffe | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== TMSS10BatchLoader ====== | ====== TMSS10BatchLoader ====== | ||
| + | |||
| + | TMSS10BatchLoader creates [[object: | ||
| ===== Synopsis ===== | ===== Synopsis ===== | ||
| - | '' | + | '' |
| - | + | ||
| - | ===== Description ===== | + | |
| - | + | ||
| - | Creates Customer, Media and Repositories by loading a configuration file into the TapeTrack Database. | + | |
| ===== Options ===== | ===== Options ===== | ||
| Line 13: | Line 11: | ||
| * '' | * '' | ||
| * '' | * '' | ||
| + | |||
| + | |||
| + | {{page> | ||
| + | ===== Editable Fields ===== | ||
| + | |||
| + | * [[object: | ||
| + | * [[object: | ||
| + | * [[object: | ||
| + | * [[object: | ||
| + | * [[object: | ||
| + | * [[object: | ||
| + | * Repository Icon | ||
| + | * {{: | ||
| + | * {{: | ||
| + | * {{: | ||
| + | * {{: | ||
| + | * {{: | ||
| + | * {{: | ||
| + | * {{: | ||
| + | * {{: | ||
| + | * {{: | ||
| + | * [[options: | ||
| + | * [[master: | ||
| + | |||
| ==== Technical Support ==== | ==== 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 [[common: | + | 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 [[common: | ||
| ==== Exit Statuses ==== | ==== Exit Statuses ==== | ||
| Line 26: | Line 50: | ||
| ==== Files ==== | ==== Files ==== | ||
| + | |||
| + | **stderr:** Diagnostic messages. | ||
| ===== Example ===== | ===== Example ===== | ||
| Line 31: | Line 57: | ||
| === Configuration File === | === Configuration File === | ||
| - | Configuration file to load to create two Customers with duplicate attributes | + | Configuration file to create two [[object: |
| - | * Customer ID: 0001, Customer Description: | + | |
| - | * Customer ID: 0002, Customer Description: | + | |
| - | with two media types | + | |
| - | * Media ID: LTO, Media Description: | + | |
| - | * Media ID: 3490, Media Description: | + | |
| - | and two repositories | + | |
| - | * Repository ID: LIBR, Repository Description: | + | |
| - | * Repository ID: OFFS, Repository Description: | + | |
| - | <sxh> | + | Customer 0001 |
| - | setup= | + | * [[object: |
| - | { | + | * [[object: |
| - | customers= | + | * [[object: |
| - | ( | + | * [[object: |
| - | | + | * [[object: |
| - | | + | * [[object: |
| - | media= | + | Customer 0002 |
| - | ( | + | * [[object: |
| - | { | + | * [[object: |
| - | | + | * [[object: |
| + | * [[object: | ||
| - | | + | {{: |
| - | ( | + | |
| - | { id=" | + | |
| - | { id=" | + | |
| - | ) | + | |
| - | }, | + | |
| - | { | + | |
| - | | + | |
| - | | ||
| - | ( | ||
| - | { id=" | ||
| - | { id=" | ||
| - | ) | ||
| - | | ||
| - | ) | ||
| - | }, | ||
| - | { | ||
| - | id=" | ||
| - | media= | ||
| - | ( | ||
| - | | ||
| - | | ||
| - | repositories= | + | < |
| + | setup= | ||
| + | { | ||
| + | | ||
| + | ( | ||
| + | { | ||
| + | id=" | ||
| + | |||
| + | media= | ||
| + | ( | ||
| + | { | ||
| + | | ||
| + | |||
| + | repositories= | ||
| ( | ( | ||
| - | { id=" | + | { id=" |
| - | | + | { id=" |
| - | | + | { id=" |
| - | | + | { id=" |
| - | | + | ) |
| - | | + | }, |
| + | { | ||
| + | | ||
| + | |||
| + | | ||
| + | ( | ||
| + | { id=" | ||
| + | { id=" | ||
| + | ) | ||
| + | | ||
| + | ) | ||
| + | }, | ||
| + | { | ||
| + | id=" | ||
| + | |||
| + | media= | ||
| + | ( | ||
| + | { | ||
| + | | ||
| + | |||
| + | | ||
| + | ( | ||
| + | { id=" | ||
| + | { id=" | ||
| + | ) | ||
| + | }, | ||
| + | { | ||
| + | | ||
| + | |||
| + | | ||
| + | ( | ||
| + | { id=" | ||
| + | { id=" | ||
| + | ) | ||
| + | | ||
| + | ) | ||
| + | } | ||
| + | ); | ||
| + | }; | ||
| + | </ | ||
| + | |||
| + | |||
| + | === Command line syntax === | ||
| + | |||
| + | TMSS10BatchLoader -S user: | ||
| + | |||
| + | === Output Results === | ||
| + | |||
| + | {{tmss10batchloder_output.png}} | ||
| + | |||
| + | |||
| + | ---- | ||
| + | |||
| + | === Configuration Files - Minimising Duplicate Code === | ||
| + | |||
| + | When creating multiple [[object: | ||
| + | |||
| + | To create two customers, US01 and US02, with: | ||
| + | * [[object: | ||
| + | * [[object: | ||
| + | * [[object: | ||
| + | * [[object: | ||
| + | |||
| + | <note tip>A configuration file may “include” the contents of another file using an include directive. | ||
| + | |||
| + | This directive has the effect of in-lining the contents of the named file at the point of inclusion. | ||
| + | |||
| + | An include directive must appear on its own line in the input. It has the form: | ||
| + | |||
| + | @include " | ||
| + | |||
| + | Any backslashes or double quotes in the filename must be escaped as ‘\\’ and ‘\" | ||
| + | |||
| + | === Configuration Files === | ||
| + | |||
| + | == master.cfg == | ||
| + | |||
| + | |||
| + | setup= | ||
| + | { | ||
| + | | ||
| + | ( | ||
| + | { | ||
| + | id=" | ||
| + | @include " | ||
| + | | ||
| + | { | ||
| + | id=" | ||
| + | @include " | ||
| + | } | ||
| + | ); | ||
| + | }; | ||
| + | |||
| + | |||
| + | == include.cfg == | ||
| + | |||
| + | |||
| + | media= | ||
| + | ( | ||
| + | { | ||
| + | | ||
| + | |||
| + | | ||
| + | ( | ||
| + | { id=" | ||
| + | { id=" | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | |||
| + | | ||
| + | ( | ||
| + | { id=" | ||
| + | { id=" | ||
| + | ) | ||
| + | | ||
| + | ) | ||
| - | | ||
| - | ( | ||
| - | { id=" | ||
| - | { id=" | ||
| - | ) | ||
| - | | ||
| - | ) | ||
| - | } | ||
| - | ); | ||
| - | }; | ||
| - | </ | ||
| === Command line syntax === | === Command line syntax === | ||
| - | <sxh>TMSS10BatchLoader -S user: | + | |
| + | |||
| + | === Output Results === | ||
| + | {{cli: | ||
| + | |||
| + | ===== See Also===== | ||
| + | |||
| + | [[technote/command_line_diagnosis|Command Line Utility Troubleshooting and Diagnosis]] | ||
| + | |||
| + | --> Changelog | ||
| + | [filterrss http:// | ||
| + | <-- | ||
cli/tmss10batchloader.1551053347.txt.gz · Last modified: 2025/01/21 22:07 (external edit)
