Tivoli Header

Tivoli Storage Manager Using the Application Program Interface


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.

Table 4 lists the API environment variables by operating system.

Table 4. API Environment Variables

Variables UNIX and OS/400 Intel Netware
DSMI_CONFIG The fully-qualified name for the client options file. The fully-qualified name for the client options file. There are no environment variables. The dsm.opt, dscameng.txt, and dsierror.log files reside in the same directory as the dsmapi.nlm file. This directory becomes the search path for these files.
DSMI_DIR Points to the path that contains the dsm.sys, dsmtca, 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 dscameng.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. --


[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]