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 > why catalog db2 database(s)

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 05-21-10, 12:31
gvphubli gvphubli is offline
Registered User
 
Join Date: Sep 2003
Location: United States
Posts: 53
Question why catalog db2 database(s)

Hi,
I come from SQL Server background, and cataloging of databases is something I don't understand why we have to do it and when to do it.

Usually when I connect to any database server the least required parameter are server(host) name, user id and password (optionally database name in some cases). Incase of db2 also if I pass on the server name, userid and password I should get connected...so I am really not getting why do the cataloging.

Thanks for everyones help!.

- G's
__________________
Girish Patil
10+ Yrs of SQL Server Dev & Admin Exp.
ITIL Foundation Certified
Visit my blog : http://gvphubli.*************/
Reply With Quote
  #2 (permalink)  
Old 05-21-10, 12:37
ARWinner ARWinner is offline
Registered User
 
Join Date: Jan 2003
Posts: 3,575
You need to catalog the database (and node) in DB2 if you are going to use the CLI to DB2 to access a database. This allows the CLI to know where to send the requests to the database. You do not need to catalog the database if you are not using the CLI like with the Type 4 JDBC driver.

Andy
Reply With Quote
  #3 (permalink)  
Old 05-24-10, 02:41
pjbr34 pjbr34 is offline
Registered User
 
Join Date: Aug 2005
Posts: 14
Cataloguing Databases

You can take a look at the attachment I am sending. You will find the basis of DB2 database cataloguing.

I hope this helps.

Brgds,

Raul Baron

Attached Files
File Type: pdf db2-cert7303-pdf.pdf (2.64 MB, 197 views)
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