Translating with DrWatson… this can take a few seconds the first time.
This is a genuine, complex translation. DrWatson protects commands, error codes, and log output while naturally translating the surrounding text. It’s translated once and saved.
"Langdon Systems" — — source: Informix-list mailing list archive (1991-1998)
Article: 33841 of comp.databases.informix
cix.compulink.co.uk!news.compulink.co.uk!btnet-feed2!btnet!newsfeed.intern
etmci.com!tezcat!feed1.news.erols.com!howland.erols.net!EU.net!main.German
y.EU.net!Bielefeld.Germany.EU.net!news.sni.de
!news.mch.sni.de!news.sbs.de!news.fth.sbs.de!news
Newsgroups: comp.databases.informix
Subject: Re: Where to set INFORMIXSERVER for httpd server
Organization: Siemens Business Services
Lines: 24
References: <57fsda$fn7@cybernet.cse.fau.edu>
NNTP-Posting-Host: 130.201.50.46
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 2.01Gold (Win95; I)
To: system PRIVILEGED account <barton@aura.irm.fau.edu>
system PRIVILEGED account wrote:
>
> In writing a cgi program in 4GL I've run into one hitch:
>
> Program stopped at "mailist.4gl", line number 26.
> 4GL run-time error number -25560.
> Environment variable INFORMIXSERVER must be set.
>
> Question is:
>
> How do I get this INFORMIXSERVER variable set either from
> the httpd daemon or having it included at compile?
>
> Or any practical working solution ...
If you're using the Informix-4GL CGI-Kit, the answer is:
There is a function along with this kit allowing you to set
environment variables.
LET retstatus = i4gl_setenv("INFORMIXSERVER=<whatever>")
retstatus != 0 means, the statement failed.
Regards,
Roland
We use strictly necessary cookies to make this site work. With your
consent we’d also use optional cookies for analytics and marketing. You can accept all,
reject all, or choose. Read our Cookie Policy.