If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > Informix > set environment in 4gl program (fgl_setenv)

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 01-10-11, 02:06
dsy dsy is offline
Registered User
 
Join Date: Jan 2011
Posts: 2
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..
Reply With Quote
  #2 (permalink)  
Old 01-22-11, 18:40
Luis Santos Luis Santos is offline
Registered User
 
Join Date: Jun 2009
Location: Lisboa, Portugal
Posts: 51
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
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On