Structure to capture an ISAM error
Asked By
50 points
N/A
Posted on - 04/07/2012
Dear friends
What structure can i use to get the ISAM error from an Informatics ODBC program on unix?
Thanks
Â
Dear friends
What structure can i use to get the ISAM error from an Informatics ODBC program on unix?
Thanks
Â
Hi Antonito. To get the ISAM error from an Informix ODBC program installed on a Unix system, you need to understand the following points:
Â
SQLGetDiagField(SQL_HANDLE_STMT, hstmt, 1, SQL_DIAG_ISAM_ERROR,(SQLPOINTER)&errornum, SQL_IS_INTEGER, NULL);
Hope this helps.
Good luck with your ODBC adventure.