GETENV: Retrieving the Value of an Environment Variable

How to:

The GETENV function takes the name of an environment variable and returns its value as a variable length alphanumeric value.

Syntax: How to Retrieve the Value of an Environment Variable

GETENV(var_name)

where:

var_name

fixed length alphanumeric

Is the name of the environment variable whose value is being retrieved.