SetEnv Method
The SetEnv method sets the value of an environment variable.
This method has the following syntax:
integer = SessionObject.SetEnv(envstring = varchar(16000))
This method has the following parameter:
envstring
Specifies the environment variable in the form 'variable=value'.
For example, the following statement sets the LIB environment variable:
status = CurSession.SetEnv(envstring = 'LIB=c:/ingres/lib');
The method returns either ER_OK or ER_FAIL. Descriptions of system constant values and their numeric equivalents are listed in
Error Codes).