Setting up the API environment
The API uses unique environment variables to locate files. You can use different files for API applications from those that the backup-archive client uses. Applications can use the dsmSetup function call to override the values that the environment variables set.
Tip: On Windows, the default installation
directory is: %SystemDrive%\Program Files\Common Files\Tivoli\TSM\api
Table 1 lists the API environment
variables by operating system.
| Variables | UNIX and Linux® | Windows |
|---|---|---|
| DSMI_CONFIG | The fully-qualified name for the client options file (dsm.opt). | The fully-qualified name for the client options file (dsm.opt). |
| DSMI_DIR | Points to the path that contains the dsm.sys, en_US subdirectory, and any other national language support (NLS) language. The en_US subdirectory must contain dsmclientV3.cat. | Points to the path that contains dscenu.txt and any NLS message file. |
| DSMI_LOG | Points to the path for the dsierror.log file. | Points to the path for the dsierror.log
file.
If the client errorlogname option is set, the location specified by that option overrides the directory specified by DSMI_LOG. |