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 > Remote Connection

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 04-30-09, 11:01
ratheeshknair ratheeshknair is offline
Registered User
 
Join Date: Jan 2009
Posts: 153
Remote Connection

Hi Experts,

1)How to connect to remote server from command prompt?
2)How to view all databases in a server?

TIA
Reply With Quote
  #2 (permalink)  
Old 04-30-09, 11:16
ARWinner ARWinner is offline
Registered User
 
Join Date: Jan 2003
Posts: 3,575
1a) catalog the remote node
1b) catalog the remote database on the remote node
1c) use the CONNECT command to make the connection to the database.

2) use the LIST DATABASE DIRECTORY command.

For information on these commands consult the manual for the specific DB2 version you are using.

Andy
Reply With Quote
  #3 (permalink)  
Old 04-30-09, 11:51
ratheeshknair ratheeshknair is offline
Registered User
 
Join Date: Jan 2009
Posts: 153
Thanks Andy
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