
Command Reference
308660-14.00 Rev 00
2-39
setenv
The
setenv
command allows you to assign an ASCII string value or a numeric
value to a variable in the local environment variable table. When you assign a
value to a variable, you do not type the
$
before the variable. If the value contains
spaces or tabs, place double quotes (“”) around the value string.
Syntax
The
setenv
command has the following syntax:
setenv
<variable_name> <variable_value>
<variable_name>
is the name of the variable.
<variable_value>
is the value assigned to the variable.
Example
For example, the following script assigns the value “Good Morning” to the
variable
a.
setenv a “Good Morning”
Comentários a estes Manuais