If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > DB2 > db2 cli driver

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 10-13-10, 02:49
rahul12 rahul12 is offline
Registered User
 
Join Date: Jul 2010
Posts: 6
db2 cli driver

Hi,

my DB: db2V9.5 fp6, Aix 5.3
I have a installed IBM Data Server Driver for ODBC and CLI on a serverA ,
i want to test the database connectivity to a database sitting on ServerB using db2cli. i have my db2cli.ini file initialized with the serverB database details

in V9.7 i saw this command and was able to do a sample test connection.
./db2cli -validate -database <dbname> -connect -user <username> -passwd <passwd>

but the db2cli command in V9.5 info center does not seem to have any info regarding the database connection.

does any one know how do i test sample connection using db2cli command in V9.5?

Thanks.
Reply With Quote
  #2 (permalink)  
Old 10-13-10, 07:23
n_i n_i is offline
:-)
 
Join Date: Jun 2003
Location: Toronto, Canada
Posts: 4,449
Why do you think you need to use db2cli? Can't you just connect with the command line processor, db2?
Reply With Quote
  #3 (permalink)  
Old 10-13-10, 23:02
rahul12 rahul12 is offline
Registered User
 
Join Date: Jul 2010
Posts: 6
This is just a CLI and ODBC driver installion and not a Data server Client or Runtime client. we don't have db2 installed or instance created.
the advantage of using this driver is there is no maintenance of db2 instance.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On