Re: Where to set INFORMIXSERVER for httpd server
Posted in 1996
Roland Mueller — — source: Informix-list mailing list archive (1991-1998)
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