Setting the environment settings file storage directory

For the shell environment variable, specify the directory which contains the environment settings file used by DataMagic Server. The environment variable name is DMPATH.

When using sh:

# DMPATH=/usr/local/MAGIC/etc
# export DMPATH 

When using csh:

# setenv DMPATH /usr/local/MAGIC/etc

= Remarks =

The environment variable is currently DMPATH in DataMagic Ver.3 and later, but you can also use HULPATH. This compatibility is supported to enable users to upgrade from previous versions. However, because the environment variable might become obsolete in future versions, its use is not recommended. The following shows the priorities of the environment variables to be used.

Table 2.3 Priority of DMPATH

 

HULPATH has been set

HULPATH has not been set

DMPATH has been set

Use DMPATH

Use DMPATH

DMPATH has not been set

Use HULPATH

Cannot start