6.15.2 Process environment-variable definition file
- Organization of this subsection
(1) Format
This file has the Java property file format.
Specify one environment variable in one line.
environment-variable-name-1=variable-1 environment-variable-name-2=variable-2 ... environment-variable-name-n=variable-n
- Important note
-
When using non-ASCII characters, take one of the following actions:
-
Save the file in UTF-8.
-
Specify the information by using Unicode escapes stipulated in the Java java.util.Properties class.
-
(2) Function
The process environment-variable definition file specifies the environment variables that are valid only in external command processes.
To create this file:
-
Confirm the environment variable specifications (environment variable names and variable values) used in external command processes.
-
Specify the environment variable names and variable values in the file according to the Java property file format.
-
Store the created process environment-variable definition file in any location and with any name.
- Important note
-
To enable the process environment-variable definition file, specify the path of this file for the adpcmd.config.process-environment.variable-file-path property of the command-adapter runtime-environment properties file.
(3) Example of coding
The following is an example of coding of the process environment-variable definition file.
SIZE_OF_LIST=20000 OPTION_STATUS=1
(4) Notes
-
Whether the environment variable names are case sensitive depends on the specification of the operating system.
-
Because this file has the Java property format, there might be a case in which environment variable names and variable values must be escaped.
-
You cannot specify a value that references other variable values or its own original value.
-
If you specify the same key multiple times, it is not certain which one becomes valid.