-
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.
- Modify other values in tarativadm.bat or tarativadm.sh if necessary.
- Run tarativadm.bat or tarativadm.sh to correctly set the environment variables.
- Start taratddsmc through batch mode or interactive mode by typing the following at the command line: taratddsmc [options] [command]
-
To run taratddsmc in batch mode, type:
Echo y|taratddsmc DEL BA <pathname> <generation>
Example
Echo y|taratddsmc DEL BA B90G100A 1In 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.