Procedure documentation Setting Environment Variables Locate the document in its SAP Library structure

So that the Structure linkDatabase Manager can access the environment variables that it requires on the database server, you must create these explicitly using a Structure linkDBM command.

Setting actual environment variables using operating system commands is therefore not applicable.

If only local accesses are made to a Database Manager in a purely Microsoft Windows NT environment, you can use normal Microsoft Windows NT environment variables.

Procedure

You can declare an environment variable or export it directly to the environment.

Note

Even if you have stored multiple values for an environment variable <variable>, only one value is exported for this environment variable.
Example:
You have entered the following DBM commands:
dbmcli ... dbm_configset -raw set_variable_<number1> <variable>=<value1>
dbmcli ... dbm_configset -raw set_variable_<number2> <variable>=<value2>

If
number1 < number2, the Database Manager exports only value <value1> for the environment variable <variable>, otherwise only value <value2>.

If one of the environment variables TEMP, TMP, ADINT, ADA_OPT, NSR_ENV, NSR_POOL, NSR_EXPIRE, or BSI_ENV has been stored both with
dbmcli ... dbm_configset -raw <variable> <value>
and
dbmcli ... dbm_configset -raw set_variable_<number> <variable>=<value2>
the environment variable <variable> is exported with the value <value>, before an external backup tool is called.

See also:

Database Manager CLI: SAP DB 7.4 , Structure linkChanging a Database Manager Configuration Parameter section.