How to: |
The GETENV function takes the name of an environment variable and returns its value as a variable length alphanumeric value.
GETENV(var_name)
where:
fixed length alphanumeric
Is the name of the environment variable whose value is being retrieved.
The following request retrieves the value of the WebFOCUS Reporting Server variable EDAEXTSEC.
-SET &E1 = GETENV('EDAEXTSEC'); -TYPE &E1
The value returned is ON if the WebFOCUS Reporting Server was started with security on or OFF if the WebFOCUS Reporting Server was started with security off.