Syntax
unsetenv( string env1 [, env2, …+ )
Description
The policyunsetenv procedure removes the named environment variable from the policy server.
Example
The following example deletes the PAGER and EDITOR environment variables from the policy server.
policyunsetenv("PAGER", "EDITOR");
Syntax
setenv ( string name, string value )
Description
The setenv procedure sets one or more environment variables in the runenv variable.
Example
#set the shell variable
setenv("SHELL", "/opt/quest/bin/pmsh");
Syntax
unsetenv( string env1 [, env2, …+ )
Description
The unsetenv procedure removes the named environment variable from the runenv variable.
Example
The following example deletes the PAGER and EDITOR environment variables from the runtime environment.
unsetenv("PAGER", "EDITOR");
These are the built-in hash table functions available to use within the policy file.