HSM for Windows commands
The HSM for Windows™ client has several commands that you can run from a Command Prompt window. With these commands, you can do most of the tasks that you can do with the GUI.
Table 1 summarizes the HSM commands.
| Command | Description |
|---|---|
| dsmclc.exe | Use this command to run a migration job from the Command Prompt window. You can also list files and file spaces, and set the level of information that is saved in log, trace, and list files. |
| dsminfo.exe | Use this command to list various settings of your installation. List the version of libraries, actual log level settings, the operating system version, and disk information. |
| dsmfileinfo.exe | Use this command to list attributes of migrated and non-migrated files. |
| dsmfind.exe | Use this command to list files that are eligible by a job file or that correspond to a pattern. |
| dsmhsmclc.exe | Use this command to manage reconciliation and threshold migration. You can also set the level of information that is saved in log, trace, and list files. |
| dsmmove.exe | Use this command to move stub files to another location. If the other location is managed by a different IBM Storage Protect server, the migrated file data is moved to the new IBM Storage Protect server. |
| dsmquota.exe | Use this command to display user and group quotas or to reset the quota recall counter for one or more users. |
| dsmtool.exe | Use this command to display the quantity, size, and expiration period of migrated objects in IBM Storage Protect storage. |
You can complete additional tasks without using the HSM for Windows GUI by manually editing job and configuration files. For more information about using the command line interface, see technote 1381502.
Entering command parameters
- Case sensitivity
- Command options are not case-sensitive. You can type them in uppercase or lowercase.
- Minimum abbreviation
- In the syntax diagrams, the minimum abbreviation of a command option is printed in uppercase. For example, if the syntax diagram includes the option -UNCONFIGUREReconcile, the minimum abbreviation is UNCONFIGURER.
Restriction for running a command again
Wait for a command to finish before you enter that command
again. If you enter a command when an instance of that command is
running, you can get the following error message:
Could not open log file.
Exiting. Command parameters override default and job settings
The parameter values that you enter with a command override the values that you set in a job file or by using the configuration wizard.