Re: Set an environment variable from within a 4GL program?
Posted in 1995
June Tong (junet@informix.com) wrote: : 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 ---- That is not true! I have a routine that sets DBPRINT within the 4gl program and just before start report and it works fine. -- Dari Shirazi | Internet: dshirazi@uhl.uiowa.edu The University of Iowa - Hygienic Lab | Voice: (319) 335-4500 Oakdale Research Campus, OH-E5B | Fax: (319) 335-4555 Iowa City, IA 52242 |