Am 13.06.2011 um 23:32 schrieb Christian Schmitz:

> 
> Am 13.06.2011 um 23:08 schrieb Oliver Osswald:
> 
>> I wonder if I could not avoid the ODBC stuff and define directly an address
>> and port?
> 
> Of course.
> 
>>   db.SetFileOption SQLConnectionMBS.kOptionLibraryDB2, f
> 
> here you could pass path directly:
> 
> if you use db.Option(SQLConnectionMBS.kOptionLibraryDB2) = 
> C:\PROGRA~2\IBM\SQLLIB\BIN\DB2CLI.DLL"
> 
>>   db.DatabaseName="DB2:db2rcdata"   // Prefix DB2: + ODBC Datasource Name
> 
> and here use your db2 connection string. It may be more in a format like this:
> 
> "Server=myAddress:myPortNumber;Database=myDataBase;UID=myUsername;PWD=myPassword;"

of course with db2 prefix:

db.DatabaseName="DB2:Server=myAddress:myPortNumber;Database=myDataBase;UID=myUsername;PWD=myPassword;"

Greetings
Christian

-- 
Read our blog about news on our plugins:

http://www.mbsplugins.de/

_______________________________________________
Mbsplugins_monkeybreadsoftware.info mailing list
[email protected]
https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info

Reply via email to