A string variable definition remains in effect from the location of the definition to the end of the file. There are no global string variables for the database.
If a string variable and environment variable have the same name, the string variable has precedence.
Use the syntax:
set variable_name=value
Variable names can contain any alphanumeric characters and underscore (_). Each variable definition must be on a separate line.
For example:
set Remote_Application_Server=sysapp set Remote_File_Server=sysdata
Use the syntax:
$[{]variable_name[}]
For example:
EXEC-HOST $Remote_Application_Server CWD /net/${Remote_File_Server}/doc/project