Setting the execution module storage directory

Specify the directory where the DataMagic Server execution module is stored as a shell environment variable. The environment variable name is DMEXEP.

If you set this environment variable, the path that DataMagic Server uses to execute programs is added to the environment variable PATH of the OS. If you add the execution module storage directory to PATH, you can start DataMagic Server from a directory other than the directory containing the execution module of DataMagic Server.

When using sh:

# DMEXEP=/usr/local/MAGIC/bin
# export DMEXEP
# PATH=/usr/local/MAGIC/bin:$PATH
# export PATH

When using csh:

# setenv DMEXEP /usr/local/MAGIC/bin
# set path=(/usr/local/MAGIC/bin $path)

= Remarks =

The environment variable is currently DMEXEP in DataMagic Ver.3 and later, but you can also use HULEXEP. 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.2 Priority of DMEXEP

 

HULEXEP has been set

HULEXEP has not been set

DMEXEP has been set

Use DMEXEP

Use DMEXEP

DMEXEP has not been set

Use HULEXEP

Cannot start