Hi,
You can set OS envvar value and name back to DE is by setting SETVAR in CLI. Here is an example:
OS_VAR=/tmp/`date +%y_%m_%d_%a`
cli de_server.example.com 7500 USER1 my_password 'SETVAR name('VAR09') value("'$OS_VAR'")'
First set the OS variable, then you use the the CLI and connect to DE server with a valid user. Pass the variable name and the value to the DE global variable (VAR09).
Note: CLI is installed with the DE, it is in <install_dir>/bin. You can install stand-alone CLI in other servers as well. It is the same as the CLI in Desktop client.
HTH,
Nitin Pande
Broadcom