Running taratddsmc - Tivoli

Teradata Extension for Tivoli Storage Manager Administrator Guide

Product
Tivoli
Release Number
16.20
16.10
Published
May 2017
Language
English (United States)
Last Update
2019-03-22
dita:mapPath
beb1489436039198.ditamap
dita:ditavalPath
beb1489436039198.ditaval
dita:id
wkq1486409855180
Product Category
Teradata Tools and Utilities
  1. In tarativadm.bat or tarativadm.sh, set the DSMI_CONFIG path to point to the correct options file (.opt):
    • Linux – Set DSMI_DIR to point to the path that contains the dsm.sys, dsmtca, en_US subdirectory, which is usually located in /opt/tivoli/tsm/api/bin.
    • Windows – Set DSMI_DIR to point to the dscenu.txt TSM API error message file.
  2. Modify other values in tarativadm.bat or tarativadm.sh if necessary.
  3. Run tarativadm.bat or tarativadm.sh to correctly set the environment variables.
  4. Start taratddsmc through batch mode or interactive mode by typing the following at the command line: taratddsmc [options] [command]
  5. To run taratddsmc in batch mode, type: Echo y|taratddsmc DEL BA <pathname> <generation>

    Example

    Echo y|taratddsmc DEL BA B90G100A 1

    In the example, the backup object, B90G100A, is deleted. Multiple backup objects can be specified for deletion.

Interactive mode occurs when no command is included on the command line. In interactive mode, taratddsmc prompts for input until a quit command is entered.

Each time taratddsmc is started, a TSM server session is opened. In interactive mode, a single session is used for all commands. In batch mode, a different session is opened and closed each time taratddsmc is started.

The next example shows variations of command line options for batch and interactive mode.

Taratddsmc query backup *
Taratddsmc ?
tddsmc> query tsm
tddsmc> query backup fin*
tddsmc> quit
Taratddsmc -noheader query backup dbl_???? | sort /+30 /R >backup.txt

The prompt in interactive mode is tddsmc>. The last line of the example shows how to override the default sort order of the QUERY BACKUP command by piping output to the Windows sort utility.