An environment variable describes the operating environment of a process, such as the home directory or terminal in use. To run the server from a directory other than the default directory (/usr/tivoli/tsm/server/bin), you may have to define environment variables. For example, to define the DSMSERV_DIR environment variable to point to the /usr/tivoli/tsm/server/bin directory so that the server can find files, enter:
+--------------------------------------------------------------------------------+ |export DSMSERV_DIR=/usr/tivoli/tsm/server/bin | +--------------------------------------------------------------------------------+
You can also define an environment variable to point to the server options file. For example, to define the DSMSERV_CONFIG environment variable to point to the server options file (dsmserv.opt) enter:
+--------------------------------------------------------------------------------+ |export DSMSERV_CONFIG=/usr/tivoli/tsm/server/bin/dsmserv.opt | +--------------------------------------------------------------------------------+
The DSMLABEL utility, an offline utility for labeling sequential access volumes to be used with TSM, must read the dsmserv.opt file to pick up the language option. Therefore, DSMLABEL must be issued from the /usr/tivoli/tsm/server/bin/ directory, or the DSMSERV_DIR and DSMSERV_CONFIG environment variables must be set.
Notes:
+--------------------------------------------------------------------------------+ |setenv DSMSERV_DIR /usr/tivoli/tsm/server/bin | +--------------------------------------------------------------------------------+
+--------------------------------------------------------------------------------+ |export DSMSERV_DIR=/usr/tivoli/tsm/server/bin | +--------------------------------------------------------------------------------+