From: Jeremy M. J. <zan...@be...> - 2007-05-04 09:43:19
|
OK - I was able to get everything installed and can import DB2 without errors. (Thanks everyone.) Can anyone point me to a doc for using pydb2? I read through the test_basic.py unit test script and found some help there, but it doesn't show me what I should be putting in the connect() method. It seems that dsn should be the hostname, uid should be the user id, and pwd should be the password. But somewhere I read that some option in the dsn should be a catalog name if you're connecting to an OS/390. Any tips? (BTW - I'm trying to connect to DB2 on an AS400). Thanks, - jmj |