|
From: gongjingqun <gon...@ba...> - 2008-03-27 07:09:19
|
Hi,
python: 2.4.1
OS: AIX5.3
DB2: 8.2
PyDB2:1.1
I got a problem when calling db2 stored procedure:
Traceback (most recent call last):
File "<stdin>", line 1, in ?
File "DB2.py", line 170, in callproc
return self._sql_execute(self._cs.callproc, procname, *args)
File "DB2.py", line 160, in _sql_execute
return func(what, *(args, ))
_db2.Error: ('?', -1, 'SQLGetDiagRec() failed')
By the way, it works ok when calling other sql codes like insert / create / delete /update and so on.
In my mind,callproc is a basic function.so maybe i made a smally foolish mistake.but what it is?
Need you help!
AKA.MG
|