Hitachi

JP1 Version 11 JP1/Advanced Shell Description, User's Guide, Reference, and Operator's Guide 


7.1.1 Formats of parameters

Organization of this subsection

(1) Format of environment setting parameters

The following shows the format of environment setting parameters:

[Figure]0#-adsh_conf[Figure]1parameter[Figure]1value

(2) Format of the export parameter

The following shows the format of the export parameter:

[Figure]0export[Figure]1environment-variable-name=environment-variable-value

(3) Format of conditional parameters

The following shows the format of the conditional parameters:

[Figure]0#-adsh_conf[Figure]1 [phost_start | lhost_start[Figure]1 host-name]
environment-setting-parameter-or-export-parameter
     :
[Figure]0#-adsh_conf[Figure]1 [phost_end | lhost_end]
Example 1: Specifying multiple conditional parameters
#-adsh_conf phost_start
export HOME=/home/phost
#-adsh_conf phost_end
 
#-adsh_conf phost_start
export TEMP=/tmp
#-adsh_conf phost_end
Example 2: Nesting conditional parameters (results in an error)
#-adsh_conf phost_start
export HOME=/home/phost
#-adsh_conf phost_start
export TEMP=/tmp
#-adsh_conf phost_end
#-adsh_conf phost_end