Using the environment variables HULEXEP and HULPATH (for UNIX/Linux only)
Overview of function
Overview of function In HULFT-DataMagic Ver.2, you could select the same installation directory as HULFT, and the following environment variables could be shared between HULFT and HULFT-DataMagic.
- Environment variable HULEXEP:
-
Specifies the directory to store the execution module (bin) of HULFT and HULFT-DataMagic.
- Environment variable HULPATH:
-
Specifies the directory to store the environment settings file (etc) of HULFT and HULFT-DataMagic.
Operation recommended for DataMagic
In DataMagic Ver.3 and later, the variant characters registered in an external character table is extended, DataMagic provides environment variables (DMEXEP, DMPATH) that are different from HULFT environment variables (HULEXEP, HULPATH). In DataMagicVer.3 and later, we do not recommend operations that share environment variables with HULFT. Specify a different installation directory than that for HULFT, and then specify the environment variables for DataMagic (DMEXEP and DMPATH).
See Converting variant character selectors about extending the variant characters registered in an external character table.
-
To maintain compatibility for existing users who have upgraded from older versions, if new environment variables are not specified, the existing environment variables HULEXEP and HULPATH are used. However, we do not recommend this method because the existing environment variables might become unsupported in future versions.
-
In DataMagic, you can use a custom character table file registered in HULFT. However, if the file contains custom characters ('external characters' in DataMagic's terminology) that are extended in size by DataMagic, the custom characters of the extended size will be truncated when the file is updated in HULFT.
-
The following are the behaviors of HULFT when using custom characters registered in DataMagic:
-
If the file contains only characters of an existing character size (4 bytes or less):
-
HULFT can manage it.
-
If the file contains also characters of an extended character size (5 bytes or more):
-
HULFT can manage only custom characters specified as those of the existing character size.
-
-
The next or a later version of HULFT or DataMagic might become not able to use the shared format of the custom character table file.
-
If you specify DMPATH, the EBCDIC user table is also referenced by using the path set in DMPATH.