Purpose
The ENVVAR statement references environment variables in a DEFINE block. Using this method to reference environment variables is more efficient that using DTW_GETENV. For more information, see DTW_GETENV.
Syntax
>>-%envvar-----------------------------------------------------><
Context
%DEFINE block or statement.
Parameters
Restrictions
Can contain no other elements.
Examples
Example 1: In this example, %ENVVAR returns the value for the environment variable SERVER_SOFTWARE, the name of the Web server.
%DEFINE SERVER_SOFTWARE = %ENVVAR
%HTML (REPORT){
The server is $(SERVER_SOFTWARE).
%}