Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Manage the sqlhosts file in Windows 2000 server environment

Status
Not open for further replies.

gabrielsimon

Programmer
Oct 3, 2003
1
ES
Hello.
I run 4gl programs in W2000 server with an Informix database running in a Solaris environment.
My question is, How can I change from one database enigne to another in the same 4gl program?
I need to make something like this:
DATABASE bdname@engine1_db
SELECT * FROM bdname@engine1_db:tablename INTO var
INSERT INTO bdname@engine2_db:tablename VALUES (var)

I try this an get an error: Server engine2_db is not listed as a dbserver name in sqlhosts
Well, I have the sqlhosts well setup in my Solaris, but, it looks like the 4gl interpreter search the sqlhost file in the Windows2000 server wich is running.
Any sugestion will be wellcome!
Thanks!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top