Re: Setting Informix Environment Variables
Posted in 1995
tech (tech@compsys.demon.co.uk) wrote: : We have just upgraded to Informix 4.10 RDS from 4.00 and I am using the : fgl_getenv() function to retrieve values of environment variables. This : is proving to be very useful to me but there doesn't appear to be any : way to set an environment variable from within Informix. Is there such : a function in 4.10 - fgl_setenv() for example ?? There isn't. But setting environment inside 4gl program is useless, if You wish to pass information to child processes with it. You can, however, write C function to provide 4GL interface to setenv(), but all the changes in such a variables as DBPRINT will be visible only in Your program. They say it works with DBPRINT, but i don't know what about of DBDATE etc. With best regards, Vadim J. Nikitin