GETENV()

From Recital Documentation Wiki
Revision as of 15:28, 27 October 2009 by Helengeorge (Talk | contribs)

Jump to: navigation, search


Purpose

Function to get environment information


Syntax

GETENV(<expC>)


See Also

ACCESS(), ADDBS(), GETGID(), GETLOG(), GETPID(), GETUID(), HOME(), Printing, PUTENV(), PUTLOG()


Description

The GETENV() function returns the value of the environment variable <expC>. Its main purpose is to pass information into Recital (e.g. from DCL command procedures, or UNIX/Linux shell scripts). In UNIX, Linux and Windows it returns the value of an environment variable. In OpenVMS, it returns the value of a DCL symbol.


Example

? getenv("APP_FILE")
/usr/recital/patrons.dbf


Products

Recital Database Server, Recital Mirage Server, Recital Terminal Developer