Author Topic: datasource connection connection string  (Read 4052 times)

Offline Eag. E

  • Community Leader
  • *****
  • Join Date: Feb 2014
  • Posts: 77
  • Forum Citizenship: +0/-0
datasource connection connection string
« on: 18 Jul 2016 06:01:18 am »
Hi

Using SDK with Sample, I got this
Code: [Select]
String dataSourceConnectionString = "^User ID:^?Password:;LOCAL;D2;DSN=;UID=%s;PWD=%s;@ASYNC=0@0/0@COLSEQ=IBM_JD_CNX_STR:^User ID:^?Password:;LOCAL;JD-D2;URL=jdbc:db2://ip:50000/Sample;DRIVER_NAME=com.ibm.db2.jcc.DB2Driver";
But I don't know how to input db user and psw~.
Do you have any idea?

Thanks