SUPPORT / SAMPLES & SAS NOTES
 

Support

Problem Note 5708: ERROR: SQL0514N The cursor "SQLCURCS297" is not in prepared state

DetailsHotfixAboutRate It
Using SAS/ACCESS to ODBC or SAS/ACCESS to DB2 may result in the
following error:

  ERROR: CLI open cursor error. [IBM][CLI Driver][DB2] The cursor
     "SQLCURCS297" is not in prepared state. SQLSTATE=26501

We have patches that can be downloaded from:


  For SAS 8.1 SAS/ACCESS to ODBC & SAS/ACCESS to DB2:
    http://www.sas.com/techsup/download/pc/v81_odbc_db2_cursor_fix.zip

  For SAS 8.2 SAS/ACCESS to DB2:
    A Technical Support hot fix for this problem is available at:

http://www.sas.com/techsup/download/hotfix/82_sbcs_prod_list.html#82d204

  For SAS 8.2 SAS/ACCESS to ODBC :
    A Technical Support hot fix for this problem is available at:

http://www.sas.com/techsup/download/hotfix/82_sbcs_prod_list.html#82od02


In addition to applying the patches mentioned above, customers will need
to edit their DB2CLI.INI file (which is in the SQLLIB directory) by
adding CURSORBEHAVIOR=0. This statement causes DB2 to correctly report
their cursor commit behavior as close, which causes the engine to
either (1) defer the commit or (2) reprepare before calling execute.


Operating System and Release Information

Product FamilyProductSystemReported ReleaseFixed Release*
SAS SystemSAS/ACCESS Interface to TeradataMicrosoft Windows NT Workstation8 TS M1
Microsoft Windows 95/988 TS M1
Microsoft Windows 2000 Server8 TS M1
Microsoft Windows 2000 Professional8 TS M1
Microsoft Windows 2000 Datacenter Server8 TS M1
Microsoft Windows 2000 Advanced Server8 TS M1
SAS SystemSAS/ACCESS Interface to SAP BWMicrosoft Windows NT Workstation8 TS M1
Microsoft Windows 95/988 TS M1
Microsoft Windows 2000 Server8 TS M1
Microsoft Windows 2000 Professional8 TS M1
Microsoft Windows 2000 Datacenter Server8 TS M1
Microsoft Windows 2000 Advanced Server8 TS M1
SAS SystemSAS/ACCESS Interface to SybaseMicrosoft Windows NT Workstation8 TS M1
Microsoft Windows 95/988 TS M1
Microsoft Windows 2000 Server8 TS M1
Microsoft Windows 2000 Professional8 TS M1
Microsoft Windows 2000 Datacenter Server8 TS M1
Microsoft Windows 2000 Advanced Server8 TS M1
SAS SystemSAS/ACCESS Interface to R/3Microsoft Windows NT Workstation8 TS M1
Microsoft Windows 95/988 TS M1
Microsoft Windows 2000 Server8 TS M1
Microsoft Windows 2000 Professional8 TS M1
Microsoft Windows 2000 Datacenter Server8 TS M1
Microsoft Windows 2000 Advanced Server8 TS M1
SAS SystemSAS/ACCESS Interface to PC FilesMicrosoft Windows NT Workstation8 TS M1
Microsoft Windows 95/988 TS M1
Microsoft Windows 2000 Server8 TS M1
Microsoft Windows 2000 Professional8 TS M1
Microsoft Windows 2000 Datacenter Server8 TS M1
Microsoft Windows 2000 Advanced Server8 TS M1
SAS SystemSAS/ACCESS Interface to PeopleSoftMicrosoft Windows NT Workstation8 TS M1
Microsoft Windows 95/988 TS M1
Microsoft Windows 2000 Server8 TS M1
Microsoft Windows 2000 Professional8 TS M1
Microsoft Windows 2000 Datacenter Server8 TS M1
Microsoft Windows 2000 Advanced Server8 TS M1
SAS SystemSAS/ACCESS Interface to Oracle RdbMicrosoft Windows NT Workstation8 TS M1
Microsoft Windows 95/988 TS M1
Microsoft Windows 2000 Server8 TS M1
Microsoft Windows 2000 Professional8 TS M1
Microsoft Windows 2000 Datacenter Server8 TS M1
Microsoft Windows 2000 Advanced Server8 TS M1
SAS SystemSAS/ACCESS Interface to ODBCMicrosoft Windows NT Workstation8 TS M1
Microsoft Windows 95/988 TS M1
Microsoft Windows 2000 Server8 TS M1
Microsoft Windows 2000 Professional8 TS M1
Microsoft Windows 2000 Datacenter Server8 TS M1
Microsoft Windows 2000 Advanced Server8 TS M1
SAS SystemSAS/ACCESS Interface to OLE DBMicrosoft Windows NT Workstation8 TS M1
Microsoft Windows 95/988 TS M1
Microsoft Windows 2000 Server8 TS M1
Microsoft Windows 2000 Professional8 TS M1
Microsoft Windows 2000 Datacenter Server8 TS M1
Microsoft Windows 2000 Advanced Server8 TS M1
SAS SystemSAS/ACCESS Interface to OracleMicrosoft Windows NT Workstation8 TS M1
Microsoft Windows 95/988 TS M1
Microsoft Windows 2000 Server8 TS M1
Microsoft Windows 2000 Professional8 TS M1
Microsoft Windows 2000 Datacenter Server8 TS M1
Microsoft Windows 2000 Advanced Server8 TS M1
SAS SystemSAS/ACCESS Interface to IMS-DL/IMicrosoft Windows NT Workstation8 TS M1
Microsoft Windows 95/988 TS M1
Microsoft Windows 2000 Server8 TS M1
Microsoft Windows 2000 Datacenter Server8 TS M1
Microsoft Windows 2000 Advanced Server8 TS M1
Microsoft Windows 2000 Professional8 TS M1
SAS SystemSAS/ACCESS Interface to InformixMicrosoft Windows NT Workstation8 TS M1
Microsoft Windows 95/988 TS M1
Microsoft Windows 2000 Server8 TS M1
Microsoft Windows 2000 Professional8 TS M1
Microsoft Windows 2000 Datacenter Server8 TS M1
Microsoft Windows 2000 Advanced Server8 TS M1
SAS SystemSAS/ACCESS Interface to MySQLMicrosoft Windows NT Workstation8 TS M1
Microsoft Windows 95/988 TS M1
Microsoft Windows 2000 Server8 TS M1
Microsoft Windows 2000 Professional8 TS M1
Microsoft Windows 2000 Datacenter Server8 TS M1
Microsoft Windows 2000 Advanced Server8 TS M1
SAS SystemSAS/ACCESS Interface to DB2Microsoft Windows NT Workstation8 TS M1
Microsoft Windows 95/988 TS M1
Microsoft Windows 2000 Server8 TS M1
Microsoft Windows 2000 Professional8 TS M1
Microsoft Windows 2000 Datacenter Server8 TS M1
Microsoft Windows 2000 Advanced Server8 TS M1
SAS SystemSAS/ACCESS Interface to DB2 Server for VMMicrosoft Windows NT Workstation8 TS M1
Microsoft Windows 95/988 TS M1
Microsoft Windows 2000 Server8 TS M1
Microsoft Windows 2000 Professional8 TS M1
Microsoft Windows 2000 Datacenter Server8 TS M1
Microsoft Windows 2000 Advanced Server8 TS M1
SAS SystemSAS/ACCESS Interface to CA-OpenIngresMicrosoft Windows NT Workstation8 TS M1
Microsoft Windows 95/988 TS M1
Microsoft Windows 2000 Server8 TS M1
Microsoft Windows 2000 Professional8 TS M1
Microsoft Windows 2000 Datacenter Server8 TS M1
Microsoft Windows 2000 Advanced Server8 TS M1
SAS SystemSAS/ACCESS Interface to CA-IDMSMicrosoft Windows NT Workstation8 TS M1
Microsoft Windows 95/988 TS M1
Microsoft Windows 2000 Server8 TS M1
Microsoft Windows 2000 Professional8 TS M1
Microsoft Windows 2000 Datacenter Server8 TS M1
Microsoft Windows 2000 Advanced Server8 TS M1
SAS SystemSAS/ACCESS Interface to BaanMicrosoft Windows NT Workstation8 TS M1
Microsoft Windows 95/988 TS M1
Microsoft Windows 2000 Server8 TS M1
Microsoft Windows 2000 Professional8 TS M1
Microsoft Windows 2000 Datacenter Server8 TS M1
Microsoft Windows 2000 Advanced Server8 TS M1
SAS SystemSAS/ACCESS Interface to CA-Datacom/DBMicrosoft Windows NT Workstation8 TS M1
Microsoft Windows 95/988 TS M1
Microsoft Windows 2000 Server8 TS M1
Microsoft Windows 2000 Professional8 TS M1
Microsoft Windows 2000 Datacenter Server8 TS M1
Microsoft Windows 2000 Advanced Server8 TS M1
SAS SystemSAS/ACCESS Interface to AdabasMicrosoft Windows NT Workstation8 TS M1
Microsoft Windows 95/988 TS M1
Microsoft Windows 2000 Server8 TS M1
Microsoft Windows 2000 Professional8 TS M1
Microsoft Windows 2000 Datacenter Server8 TS M1
Microsoft Windows 2000 Advanced Server8 TS M1
* For software releases that are not yet generally available, the Fixed Release is the software release in which the problem is planned to be fixed.