Hitachi

uCosminexus Service Platform Reference Guide


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:

  1. Confirm the environment variable specifications (environment variable names and variable values) used in external command processes.

  2. Specify the environment variable names and variable values in the file according to the Java property file format.

  3. 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