Win binary installation/imix odbc - connecting to database?

Malcolm Perrior <[email protected]>
Newsgroups gmane.comp.lang.4gl.aubit.general
Message-ID <A338ECC4DD46BC4B8B313F6AACEEC1E302022A79@ukhqexchange1.Foresters.co.uk>
Hi all
Probably a damn fool question but I just can’t find the answer in the manuals…

Noobie question with Aubit on Windows, please be gentle!

I’ve installed the latest aubit win binaries on a win 7 machine, have created an Informix database server and database, have set up the Informix Client SDK and an  odbc connection to the test database.

Testing this, I’ ve got a simple “test.4gl” file:

DATABASE test_db
MAIN
DISPLAY “Hello Me” at 5,5 ATTRIBUTE(red)
SLEEP 5
END MAIN

Compiling with 4glpc test.4gl –o test.exe fails with the comment “Could not connect to database test_db (?) (MAIN)” in the test.err file
It compiles and runs OK without the DATABASE declaration.

Hmmm. Why does it include (MAIN) in the error line; and have I got the database declaration wrong somehow?

Thanks


**********************************************************************
The information contained in this email is intended only for the individual or entity to whom it is addressed. It may contain privileged and confidential information and if you are not an intended recipient you must not copy, distribute or take any action in reliance on it. If you have received this email in error, please notify us immediately by telephone on (020) 8628 3456. Please also destroy and delete the message from your computer.

Any opinions expressed in this message are those of the sender only and do not necessarily represent the views of Foresters. The sender may not be authorised to give financial advice and nothing in this message should be construed as offering such advice or entering into any contract on behalf of any Foresters Company.

Forester Life Limited is authorised by the Prudential Regulation Authority and regulated by the Financial Conduct Authority and Prudential Regulation Authority. 

Forester Fund Management Limited is authorised and regulated by the Financial Conduct Authority. The Children’s Mutual is a trading name of Forester Fund Management Ltd.

Companies within the Foresters UK Group are registered in England as follows:
Forester Life Limited 2997655, Forester Fund Management Limited 4315370 and Forester Holdings (Europe) Limited 3013082. 

Registered Offices for all companies within the Foresters UK Group: 
Foresters House, 2 Cromwell Avenue, Bromley, BR2 9BF. T 020 8628 3400. F 020 8628 3500. E [email protected] foresters.com 
**********************************************************************

------------------------------------------------------------------------------
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/

_______________________________________________
Aubit4gl-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/aubit4gl-discuss
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.