On windows/XP, trying to connect to OS mainframe domain with
import DB2
con = DB2.Connection('btvmanr.btv.ibm.com:446/BYDB2MFG','user','pw')
get:
Traceback (most recent call last):
File "<interactive input>", line 1, in ?
File "DB2.py", line 271, in __init__
self._db = _db2.connect(*args, **kwargs)
DatabaseError: ('HY009', -99999, '[IBM][CLI Driver] CLI0124E Invalid
argument value. SQLSTATE=HY009')
Obviously I'm not passing the right dsn. I'm using the same dsn as on AIX
java, without the jdbc:db2: prefix, but the same port. I successfully
connected to btvmanr using config mgr with db2 8.1.
-Dave Katcoff 802-769-4162
|