Setting the HCL OneDB Interface for TSM environment variables

When you use the HCL OneDB™ Interface for TSM, you need to set certain environment variables in the environment of the user.

The following table describes these environment variables.

Table 1. HCL OneDB Interface for TSM environment variables
Environment variable Description
DSMI_CONFIG The fully qualified name for the client user option file (dsm.opt). The default value is dsm.opt in the TSM API installation directory.
DSMI_DIR On UNIX™, points to the TSM API installed path. This environment variable needs to be defined only if the TSM API is installed in a different path from the default path. The DSMI_DIR environment variable is also used to find the dsm.sys file.

On Windows™, specifies the installation location of the TSM Backup-Archive Client. Typically, the TMS Backup-Archive Client is installed in the C:\Tivoli\TSMClient\baclient directory.

DSMI_LOG Points to the directory that contains the API error log file (dsierror.log).

For error log files, create a directory for the error logs to be created in, then set the DSMI_LOG environment variable to that directory. The user informix or the backup operator should have write permission on this directory.

The following example shows how to set up these environment variables for Solaris 32-bit if the TSM API is installed in the /opt/Tivoli/tsm/client/api directory:
export DSMI_CONFIG=/opt/Tivoli/tsm/client/api/bin/dsm.opt
export DSMI_DIR=/opt/Tivoli/tsm/client/api/bin
export DSMI_LOG=/home/user_a/logdir

The following example shows how to set up these environment variables for Windows if the TSM API is installed in the C:\Tivoli\TSMClient\api directory:

set DSMI_CONFIG=C:\Tivoli\TSMClient\api\BIN\dsm.opt
set DSMI_DIR=C:\Tivoli\TSMClient\baclient
set DSMI_LOG=C:\logdir