SUPPORT / SAMPLES & SAS NOTES
 

Support

Problem Note 12567: "Function sequence error" issued when inserting data into DB2 8.1 Fixpack 5 or later when using columns name on the INSERT statement

DetailsHotfixAboutRate It
The following error message may be issued when attempting to insert
data into a DB2 table that uses column names in the INSERT statement.

  ERROR: CLI open cursor error: [IBM][CLI Driver] CLI0125E Function
  sequence error. SQLSTATE=S1010

With the release of DB2 8.1 Fixpack 5 and later releases, IBM has
introduced a change in their CLI LOAD mechanism that prohibits the use
of column names in the INSERT statement that is used for the CLI LOAD.
Since the SAS/ACCESS to DB2 engine always uses column names in the
INSERT statement, this results in a "function sequence error" being
issued when trying to use BL_METHOD=CLILOAD with DB2 8.1 FP 5.

To workaround this problem, do not use column names on the INSERT
statement.


A Technical Support hot fix for SAS 9.1.2 (9.1 TS1M2) for this
issue is available at:

http://www.sas.com/techsup/download/hotfix/c9_sbcs_prod_list.html#012567


Operating System and Release Information

Product FamilyProductSystemSAS Release
ReportedFixed*
SAS SystemSAS/ACCESS Interface to DB264-bit Enabled AIX9.1 TS1M29.1 TS1M3
64-bit Enabled Solaris9.1 TS1M29.1 TS1M3
64-bit Enabled HP-UX9.1 TS1M29.1 TS1M3
Tru64 UNIX9.1 TS1M29.1 TS1M3
* 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.