OpenTP1 Version 7 User's Guide

[Contents][Index][Back][Next]

4.4 Environment variable settings

In OpenTP1 for Windows, you must specify environment variables in the login environment in order to execute OpenTP1 commands. The following table lists and describes the environment variables for OpenTP1 for Windows.

Table 4-1 Environment variables for OpenTP1 for Windows

Environment variable name Setting
DCCONFPATH# Specifies (in 1 to 246 bytes) the absolute path name of the folder containing the system definition files. A path name cannot contain any spaces.
Within a machine, all DCCONFPATH environment variables must be the same. A path name is case sensitive.
DCDIR There is no need for the user to set the DCDIR environment variable. When you set up OpenTP1, the path name of the OpenTP1 folder is set automatically in the DCDIR environment variable.
Do not set the DCDIR environment variable in a definition file or a batch file. If you need to set this environment variable for system operation purposes, note that the value is case-sensitive and that the character string that is set must be exactly the same as that for the DCDIR environment variable.
DCUAPCONFPATH# Specifies (in 1 to 246 bytes) the absolute path name of the folder for storing the user service definition files when you wish to store these files in a different folder from the one specified in the DCCONFPATH environment variable. A path name cannot contain any spaces.
INCLUDE Specifies %DCDIR%\include if user server programs are to be created.
LIB Specifies %DCDIR%\lib if the trnlnkrm command is to be executed or user server programs are to be created.
PATH When OpenTP1 is set up, OpenTP1's executable file storage path (%DCDIR%\bin) is added automatically to the PATH environment variable. Do not delete the %DCDIR%\bin specification. If it is deleted, OpenTP1 will not function correctly.
If the PATH environment variable has already been set, %DCDIR%\bin will be added at the end. If the path of a drive connected to the network is specified before %DCDIR%\bin, OpenTP1 will not start because of an application error. Therefore, specify the path of a drive connected to the network after %DCDIR%\bin.
TZ Specifies the time zone.
Make sure that the value of this environment variable matches the time zone value in Time zone in Control Panel. For example, if the time zone is (GMT+9:00) Osaka, Sapporo, Tokyo, (GMT+9:00) Seoul, or (GMT+9:00) Yakutsk, the value of the TZ environment variable must be set to JST-9. If the TZ environment variable is not set or no time is set within the system, the correct time might not be obtained internally in OpenTP1.

#
When the system starts, OpenTP1 analyzes the files in the folder specified in the DCCONFPATH or DCUAPCONFPATH environment variable as definition files. If the specified folder contains files that are not definition files used by OpenTP1, it might take a long time for OpenTP1 to start. Therefore, do not store any files that are not definition files used by OpenTP1 in the folder specified in the DCCONFPATH and DCUAPCONFPATH environment variables.