OpenTP1 Version 7 System Definition
A definition specified in the set format is called an operand. The set format establishes a value for an operand as follows.
set operand=value |
A definition specified in the command format is called a definition command. The command format establishes the option and argument as follows.
command-name option command-argument |
-option-flag |
-option-flag flag-argument |
The putenv format establishes the user's environment variables as follows. When an environment variable name is specified in the environment variable value operand, the environment variable is not extended.
putenv environment-variable-name environment-variable-value |
The dcputenv format establishes the user's environment variables as follows. When an environment variable name is specified in the environment variable value operand, the environment variable is extended and the extended value is set as the user's environment variable.
dcputenv environment-variable-name environment-variable-value |
Any comment must be preceded by a hash mark (#). This symbol notated at the start of a line renders that whole line to be treated as a comment. Thus a comment can be of two formats:
Format 1
definition # comment |
Format 2
# comment |
In a definition consisting of multiple items separated by a comma (,), do not place a space before or after a comma.
The values for the maximum length of each definition line are shown below.
If the specification exceeds the maximum length of each line, startup of OpenTP1 may fail or an error message may be issued.
If a definition is longer than the maximum length, write the definition on multiple lines by appending a continuation symbol (\) to each line that will be followed by a continuation line. Do not specify anything after the continuation symbol (\). When specifying multiple items separated by commas (,) on multiple lines, specify a comma (,) after the last item on the line on which a continuation symbol (\) is specified.
In the network communication definition, be careful when you specify an option with an operand enclosed in double quotation marks (") and the option is followed by another option on the next continuation line. In such a case, place at least one space character between the right quotation mark and the continuation symbol (\) on the first line, as shown in the example below. In the example, indicates a space character.
-y "mode=client" |
In the dcputenv format, the getenv function extends an environment variable name specified in the environment variable value operand. Any environment variable name must be preceded by a dollar sign ($). Alphanumerics and underscores can be specified in environment variable names.
putenv TMPPATH $DCDIR/tmp 1 dcputenv FILEPATH $DCDIR/tmp 2 dcputenv TEMPDIR $TMPPATH/file 3 dcputenv REALPATH $FILEPATH:$DCDIR/file 4 dcputenv ENVPATH "$TMPPATH/file" 5 dcputenv DIRTMP $DCDIR:"$FILEPATH":/tmp 6
If the same environment variable is specified in both the putenv and dcputenv formats, the last specified one becomes valid.
All Rights Reserved. Copyright (C) 2006, 2010, Hitachi, Ltd.