FGETENV: Retrieving the Value of an Environment Variable

How to:

Available Languages: reporting

The FGETENV function retrieves the value of an environment variable and returns it as an alphanumeric string.


Top of page

x
Syntax: How to Retrieve the Value of an Environment Variable
FGETENV(varlength, 'varname', outfieldlen, outfldformat)

where:

varlength

Integer

Is the length of the environment variable name.

varname

Alphanumeric

Is the name of the environment variable.

outfieldlen

Integer

Is the length of the field in which the environment variable's value is stored.

outfldformat

Alphanumeric

Is the format of the field in which the environment variable's value is stored.


WebFOCUS