cli:tmss10sync
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| cli:tmss10sync [2017/06/17 20:11] – [Options] Gerard Nicol | cli:tmss10sync [2025/07/04 04:53] (current) – [Examples] Scott Cunliffe | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== TMSS10Sync ====== | ====== TMSS10Sync ====== | ||
| Synchronize an input file or ODBC connection data with a TapeTrack Framework Server. | Synchronize an input file or ODBC connection data with a TapeTrack Framework Server. | ||
| + | |||
| + | <note tip>For further details including requirements, | ||
| ===== Synopsis ===== | ===== Synopsis ===== | ||
| '' | '' | ||
| configfile] [-d deffile] [-l] [-p] [-s] [-t]'' | configfile] [-d deffile] [-l] [-p] [-s] [-t]'' | ||
| ===== Description ===== | ===== Description ===== | ||
| - | '' | + | '' |
| between text files, CSV files and ODBC connections to update commonly used TapeTrack database fields. | between text files, CSV files and ODBC connections to update commonly used TapeTrack database fields. | ||
| In addition to being able to synchronize data, the program can also perform complex date calculation and | In addition to being able to synchronize data, the program can also perform complex date calculation and | ||
| - | string | + | String |
| The program relies on three separate software engines that are built one on top of the other. | The program relies on three separate software engines that are built one on top of the other. | ||
| - | - **INI Parse Engine** This component is responsible for reading the Definition File, parsing the processing directives, resolving variables and including any embedded Definition File sections. | + | - **INI Parse Engine** This component is responsible for reading the Definition File, parsing the processing directives, resolving variables, and including any embedded Definition File sections. |
| - | - **Import Engine** This component is responsible for reading data from the import file or ODBC connection, extracting data into respective fields and performing any data manipulation. | + | - **Import Engine** This component is responsible for reading data from the import file or ODBC connection, extracting data into respective fields, and performing any data manipulation. |
| - **Sync Engine** This component responsible for updating the TapeTrack Server with any fields which have been specified to be updated. | - **Sync Engine** This component responsible for updating the TapeTrack Server with any fields which have been specified to be updated. | ||
| ===== Options ===== | ===== Options ===== | ||
| Line 20: | Line 22: | ||
| The options which apply to the TMSS10Sync command are: | The options which apply to the TMSS10Sync command are: | ||
| - | * '' | + | |
| - | * '' | + | * '' |
| - | * '' | + | * '' |
| - | * '' | + | * '' |
| - | * '' | + | * '' |
| - | * '' | + | * '' |
| - | * '' | + | * '' |
| - | * '' | + | * '' |
| - | written to STDOUT. A list of valid ODBC Drivers and DSNs will also be listed. No further processing | + | * '' |
| - | is performed. | + | * '' |
| - | * '' | + | * '' |
| - | * '' | + | * '' |
| - | * '' | + | |
| <note tip> | <note tip> | ||
| Line 39: | Line 40: | ||
| Engine, such as the Barcode Parse Option will not be invoked. Further, functions that relate | Engine, such as the Barcode Parse Option will not be invoked. Further, functions that relate | ||
| to data interpretation such as date parsing will also not be run. | to data interpretation such as date parsing will also not be run. | ||
| + | |||
| + | To run data through all three engines without performing updates, TMSS10Sync can be run in test mode (attribute -t). | ||
| </ | </ | ||
| ===== Exit Status ===== | ===== Exit Status ===== | ||
| - | zero Program has ended successfully. | + | * **zero** Program has ended successfully. |
| - | TMSS10Sync | + | * **non-zero** Program has not ended successfully. |
| - | 3 | + | |
| - | non-zero Program has not ended successfully. | + | |
| ===== Environment ===== | ===== Environment ===== | ||
| - | TMSSSERVERPROXY If defined the program will route all TapeTrack TCP/IP traffic through | + | |
| - | a HTTPS proxy. The value of the variable should be in the format | + | |
| - | user: | + | |
| - | TMSSAPILOGDIR. | + | |
| - | TMSSAPILOGDIR If defined the program will write out a trace file to this directory. | + | |
| - | TMSSPWPATH When no password value is passed in the logon string the program will look for | + | |
| - | the password in file \etc\tapetrack\user, | + | |
| - | passed in the logonstring. If you wish to change this default path, you can | + | |
| - | set the path in TMSSPWPATH. | + | |
| - | TMSSNOMD5 If defined the program will not MD5 hash passwords before sending them to the | + | |
| - | TapeTrack Server. This is required when relying on Windows Active Directory | + | |
| - | authentication. It should be noted that although the password is not being hashed, | + | |
| - | it is still being encrypted during transmission. | + | |
| ===== Files ===== | ===== Files ===== | ||
| - | stdout Formatted output, Record Dump output or Scan File Output. | + | * '' |
| - | stderr Diagnostic messages. | + | * '' |
| - | stdin Sync input file. | + | * '' |
| ===== Examples ===== | ===== Examples ===== | ||
| - | Example 1. TMSS10Sync: | + | List supported Processing Directives. |
| - | [gnicol@z1090 ~]$ TMSS10Sync -l < syntax.txt | + | <code plain;> |
| - | Example 2. TMSS10Sync: | + | [jsmith@z1090 ~]$ TMSS10Sync -l < syntax.txt |
| - | [gnicol@z1090 ~]$ TMSS10Sync -M < input.txt | + | </ |
| - | Example 3. TMSS10Sync: | + | Run program in Dump Mode. |
| - | [gnicol@z1090 ~]$ TMSS10Sync -F 10 < input.txt > output.txt | + | <code plain;> |
| + | [jsmith@z1090 ~]$ TMSS10Sync -M < input.txt | ||
| + | </ | ||
| + | Produce a formatted listing with a ruler every 10 records. | ||
| + | <code plain;> | ||
| + | [jsmith@z1090 ~]$ TMSS10Sync -F 10 < input.txt > output.txt | ||
| + | </ | ||
| + | |||
| + | ===== See Also===== | ||
| + | |||
| + | [[technote/ | ||
| + | --> Changelog | ||
| + | [filterrss http:// | ||
| + | <-- | ||
cli/tmss10sync.1497730265.txt.gz · Last modified: 2025/01/21 22:07 (external edit)
