developerWorks  >  Lotus  >  Forums & community  >  Enterprise Integration Forum

Enterprise Integration Forum

developerWorks




LC LSX connection to DB2
Geert Matthijs 07/12/2004 06:06 AM
Lotus Connectors Lotus Connectors - All Releases Linux


Hi,
I'm having trouble connecting to a remote DB2 database using LC LSX. We're using Domino 6.5.1, Redhat Enterprise 2.1 SMP and IBM DB2 V8.1 Connect Personal edition.
I've verified the connection with the dctest utility, but when using the following simple code in a Lotus script I get the error 'member instance DATABASE does not exist':

Dim session As New LCSession
Dim conn As New LCConnection("db2")

conn.Database = "database"
conn.Userid = "userid"
conn.Password = "password"
conn.Procedure = "XXXXXXXX.YYYY"
conn.Connect

The error would indicate the database property does not exist, but all the documentation says it should exist. Using conn.Server gives me the same error.

Anyone have an idea? Thanks

Go back