Re: Could not connect to INFORMIX database
Mike Aubury <[email protected]>
| Newsgroups | gmane.comp.lang.4gl.aubit.general |
|---|---|
| Message-ID | <CAGAq4WFW8epSamrS96_A54QB06pvd+v+SwGY4reKaLAbUD6sLA@mail.gmail.com> |
Sorry - I should have read your original email better - but it was on a phone :(
This certainly looks like an Informix issue - not an Aubit4GL one -
can you connect using ESQL/C ?
Something like :
main() {
$int a;
$whenever error stop;
$database sysmaster;
$select count(*) into $a from systables ;
printf("%d\n", a);
}
On 18 July 2013 18:32, Abdelouahed Hanafi <[email protected]> wrote:
> Yes, I connect without any problem using Informix dbaccess
>
> ________________________________
> Date: Thu, 18 Jul 2013 18:15:29 +0100
> Subject: Re: [Aubit4gl-discuss] Could not connect to INFORMIX database
> From: [email protected]
> To: [email protected]
> CC: [email protected]
>
>
> Can you connect using the informix dbaccess ?
>
> On 18 Jul 2013 17:53, "Abdelouahed Hanafi" <[email protected]> wrote:
>
> HI,
> I've just installed INFORMIX Server 12.10 from IBM.
> Using Informix DBIMPORT utility, I've created a MYTEST database from old
> exported data.
> DBACCESS and SQL scripts work well.
> With AUBIT compiler , the next program fails to compile :
>
> database mytest
> main
>
> end main
>
> Error at line 2, character 4
> | Could not connect to database mytest (The INFORMIXSERVER value is not
> listed in the sqlhosts file or the Registry.) (main)
>
> I set the environmemt variable INFORMIXSERVER to the appropriate value
> and A4GL_SQLTYPE to ESQL
>
> Thank you for your help.
>
>
> ------------------------------------------------------------------------------
> See everything from the browser to the database with AppDynamics
> Get end-to-end visibility with application monitoring from AppDynamics
> Isolate bottlenecks and diagnose root cause in seconds.
> Start your free trial of AppDynamics Pro today!
> http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
> _______________________________________________
> Aubit4gl-discuss mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/aubit4gl-discuss
>
>
> ------------------------------------------------------------------------------
> See everything from the browser to the database with AppDynamics
> Get end-to-end visibility with application monitoring from AppDynamics
> Isolate bottlenecks and diagnose root cause in seconds.
> Start your free trial of AppDynamics Pro today!
> http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
> _______________________________________________
> Aubit4gl-discuss mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/aubit4gl-discuss
>
------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk