IBM Books

Reference

Environment Variables


AIX HP-UX Linux OS/2 OS/390 OS/400 SCO SUN Win NT
X X X X X X X X X

Environment variables let you use the Net.Data ENVVAR language construct to reference environment variables that exist in the process under which Net.Data is running.

Example 1: A variable is assigned the value of an environment variable

%define SERVER_NAME=%ENVVAR
 
...
 
The server is $(SERVER_NAME)

The environment variable SERVER_NAME has the value of the current server name, which, in this example, is www.software.ibm.com.

The server is www.software.ibm.com

See ENVVAR Statement for more information about the ENVVAR statement.


[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]