waliwali / ibm-db

Automatically exported from code.google.com/p/ibm-db
0 stars 0 forks source link

How can I get ISAM Error Code? (Informix + ibm_db + Python) #172

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. I locked a table in exclusive mode
2. I try to select rows from the table
3. i got the error
<code>
print( ibm_db.stmt_error() )
print( ibm_db.stmt_errormsg() )

<output>
IX000
[IBM][CLI Driver][IDS/UNIX64] Could not do a physical-order read to fetch next 
row. SQLCODE=-244

What is the expected output? What do you see instead?
> I need ISAM Error Code

What version of the product are you using? On what operating system?
> CentOS7 / IBM Informix Dynamic Server Version 11.70.FC7 / Python 2.7.9 / 
ibm_db 2.0.5.1

Please provide any additional information below.

Original issue reported on code.google.com by barn...@gmail.com on 29 Apr 2015 at 4:38

GoogleCodeExporter commented 9 years ago
Application Server : centos7 / python 2.7.9 / ibm_db 2.0.5.1
Database Server : AIX 7.1 / IBM Informix Dynamic Server Version 11.70.FC7

Original comment by barn...@gmail.com on 29 Apr 2015 at 4:41

GoogleCodeExporter commented 9 years ago
You can't get ISAM error code with ibm_db python driver.

Original comment by rahul.pr...@in.ibm.com on 14 May 2015 at 11:21

GoogleCodeExporter commented 9 years ago
Do you have a plan to add a method to get ISAM error code?

Original comment by barn...@gmail.com on 18 May 2015 at 7:52

GoogleCodeExporter commented 9 years ago
currently don't have plan to add this, since this is also not supported by 
underneath CLI driver

Original comment by rahul03...@gmail.com on 18 May 2015 at 9:00