Re: Set an environment variable from within a 4GL program?
Posted in 1995
Ajay Chitale <achit@rtsg.mot.com> wrote: >proberts@lynx.informix.com (Paul Roberts) writes: >|> Can I set an environment variable from within a 4GL program and have >|> it be `effective' in the subsequent running of the program? > >All you can do is link your >4gl code with a 'c' routine which will set your environment as per your >needs. Maybe, but if you're planning on setting any environment variables that Informix uses, I'm pretty sure Informix reads them when you start up your application, so anything you change in the application will never be read. Try it and see -- it's the only way to be sure. June ---- June Tong Informix Asia/Pacific ---- ---- On-Loan Engineer Singapore ---- ---- junet@informix.com (65) 298-1716 ----