Re: Changing environmental variable from 4gl
Posted in 1996
Billy Wheeler — — source: Informix-list mailing list archive (1991-1998)
> I have tried to change DBDATE from within 4gl using: > > run "setenv DBDATE Y2MD/" > > This did not work. Does anyone know of a work-around? Two things: 1. RUN causes a sub-shell to execute, it doesn't set anything in your current shell. 2. There might be a fgl_setenv() function - I know there is a fgl_getenv() function. Why do you want to do this - there might be a better (or different) way of doing it. HTH. -- Ciao, Billy +------------------------------------------------------------------------------+ | I used to be indecisive, but now I'm not so sure... | +------------------------------------------------------------------------------+