Results 1 to 2 of 2
  1. #1
    Join Date
    Jan 2011
    Posts
    2

    Unanswered: set environment in 4gl program (fgl_setenv)

    Hi,
    I'm a newbie in informix.
    I note that fgl_setenv() can set the evironment from 4gl program.
    but while trying it,it is rejected by the compiler.
    I use this to set online environment
    CALL fgl_setenv("INFORMIXSERVER ", value)
    and can't work

    is there anything i've to set first or is there any other way to set environment from 4gl program??

    please help me to solve this problem
    thanks..

  2. #2
    Join Date
    Jun 2009
    Location
    Lisboa, Portugal
    Posts
    78
    Hi,

    Be careful because the fgl_setenv() really set´s your variable, but only apply´s at the same shell, so i think your problem is there.... anyway i don't understand why you say it gives you error compiling...

    Luis.
    LS

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •