Fixes are available
DB2 Version 9.1 Fix Pack 4a for Linux, UNIX and Windows
DB2 Version 9.1 Fix Pack 3 for Linux, UNIX and Windows
DB2 Version 9.1 Fix Pack 4 for Linux, UNIX and Windows
DB2 Version 9.1 Fix Pack 7 for Linux, UNIX and Windows
DB2 Version 9.1 Fix Pack 5 for Linux, UNIX and Windows
DB2 Version 9.1 Fix Pack 6 for Linux, UNIX and Windows
DB2 Version 9.1 Fix Pack 3a for Linux, UNIX and Windows
DB2 Version 9.1 Fix Pack 6a for Linux, UNIX and Windows
DB2 Version 9.1 Fix Pack 7a for Linux, UNIX and Windows
DB2 Version 9.1 Fix Pack 8 for Linux, UNIX and Windows
DB2 Version 9.1 Fix Pack 9 for Linux, UNIX and Windows
DB2 Version 9.1 Fix Pack 10 for Linux, UNIX and Windows
DB2 Version 9.1 Fix Pack 11 for Linux, UNIX and Windows
DB2 Version 9.1 Fix Pack 12 for Linux, UNIX and Windows
APAR status
Closed as program error.
Error description
Version 8 fixpack 9 or newer customers may hit a CLI0146E error on a call to SQLSETPOS when the SQL_DELETE option is used on that call. . The following script in CLI reproduces the error: SQLFetchScroll 1 SQL_FETCH_BOOKMARK 0 sqlsetstmtattr 1 SQL_ATTR_RETRIEVE_DATA 0 SQLFetchScroll 1 SQL_FETCH_BOOKMARK 0 sqlbindcol 1 0 SQL_C_BOOKMARK 40 SQLSetPos 1 1 SQL_DELETE SQL_LOCK_NO_CHANGE . The issue occurs when SQL_ATTR_RETRIEVE_DATA is set to 0, the current cursor position is used and no additional rows are retrieved from the server.
Local fix
Problem summary
ERROR DESCRIPTION: Version 8 fixpack 9 or newer customers may hit a CLI0146E error on a call to SQLSETPOS when the SQL_DELETE option is used on that call. . The following script in CLI reproduces the error: SQLFetchScroll 1 SQL_FETCH_BOOKMARK 0 sqlsetstmtattr 1 SQL_ATTR_RETRIEVE_DATA 0 SQLFetchScroll 1 SQL_FETCH_BOOKMARK 0 sqlbindcol 1 0 SQL_C_BOOKMARK 40 SQLSetPos 1 1 SQL_DELETE SQL_LOCK_NO_CHANGE . The issue occurs when SQL_ATTR_RETRIEVE_DATA is set to 0, the current cursor position is used and no additional rows are retrieved from the server. LOCAL FIX: None
Problem conclusion
First fixed in v8 FP15
Temporary fix
Comments
APAR Information
APAR number
JR26369
Reported component name
DB2 UDB ESE WIN
Reported component ID
5765F4101
Reported release
910
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt
Submitted date
2007-04-12
Closed date
2007-08-17
Last modified date
2010-12-11
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
Fix information
Fixed component name
DB2 UDB ESE WIN
Fixed component ID
5765F4101
Applicable component levels
R820 PSY
UP
R810 PSN
UP
Document Information
Modified date:
08 January 2022