SYSENV - v14


sysenv                        <text1> {=<text2>}

Function

Set the value of a system environment variable.  

Parameters

text1

The name of the variable to be set. The name will be converted into upper case.

 

 

text2

The value to be given to the variable. This may be a quoted string. Omitting this variable is equivalent to setting a null value.

Examples

sysenv syspath

sysenv syspath='/usr/cad/sys'

Notes

Command introduced 12.5.1 and 14.1.0

Values may be retrieved by the LET SYSENV string function.

 

This command is used as an alternative to the ENVIRONMENT command and function.  For compatibility with previous functionality, if the SYSTEM_VARIABLES setting is set in the configuration settings then the ENV function and command will not read or write system environment variable anymore.

See also

let(sysenv) , environment