Quantcast
Channel: dBforums – Everything on Databases, Design, Developers and Administrators
Viewing all articles
Browse latest Browse all 13329

db2dsdriver.cfg questions

$
0
0
Hi All,

I'm an Oracle guy living in a DB2 world, at the moment, and I've been asked to install the IBM Data Server Drivers 9.7 (32 and 64) on a Windows environment.

I've successfully done this and I've made an ODBC connection to a test DB. There are a few things I'm not really clear on though and I'd like to understand them better before I call this project complete.

1. For ODBC or JDBC connections, should I use the db2dsdriver.cfg or the db2cli.ini ? Could someone help me with examples of when I should use cfg versus ini? I've validated connectivity with "db2cli -validate" but what I've done may not be "best practices."

2. In Windows, when you launch ODBC Data Source Administrator and you create a System DSN, I select the correct DB2 driver and I'm presented with 3 boxes: a Data Source Name text field, a Data Alias pulldown, and a Description field. How do I get the Data Alias to populate? In Oracle this would populate via the tnsnames.ora. I haven't found out how to do this in DB2. I apologize if this is something simple I'm overlooking. Be kind ;-)

3. Could someone help me with best configuration practices for the db2ddsdriver.cfg? I'm looking at the IBM Docs (IBM DB2 9.7 Information Center for Linux, UNIX, and Windows) and I don't understand the difference between the "dsncollection" and "databases" collection -- do I need both? what are best practices for populating this file? I keep reading and re-reading the definitions IBM has provided for both and I find myself going cross eyed. The example is (or maybe I am) too simple to understand.

Thanks in advance!

Regards,
Rich

Viewing all articles
Browse latest Browse all 13329

Trending Articles