APAR status
Closed as program error.
Error description
When an SQL statement containing an inner join is prepared from an ODBC client using a keyset driven cursor against a DB2 v8 z/OS host running with New Function Mode enabled, the cursor is prepared and sent as a SENSITIVE DYNAMIC cursor. This in turn results in the host throwing an error -243. The application may then report either the -243 error, or an ODBC error as follows: Microsoft OLE DB Provider for ODBC Drivers error '80040e21' ODBC driver does not support the requested properties. On the host side, the following PREPARE ATTRIBUTES are being sent in for the cursor: SCROLL SENSITIVE DYNAMIC WITH HOLD WITH ROW SET POSITIONING However, the host requires READ ONLY processing for the cursor because of the INNER JOIN. Similar restrictions exist for any SQL statement that will require a temp table for processing.
Local fix
The CLI keyword CursorTypes=3 can be specified to force the client to disallow dynamic cursors, returning to the behavior in use prior to enabling v8 NFM on the z/OS host.
Problem summary
ERROR DESCRIPTION: When an SQL statement containing an inner join is prepared from an ODBC client using a keyset driven cursor against a DB2 v8 z/OS host running with New Function Mode enabled, the cursor is prepared and sent as a SENSITIVE DYNAMIC cursor. This in turn results in the host throwing an error -243. The application may then report either the -243 error, or an ODBC error as follows: Microsoft OLE DB Provider for ODBC Drivers error '80040e21' ODBC driver does not support the requested properties. On the host side, the following PREPARE ATTRIBUTES are being sent in for the cursor: SCROLL SENSITIVE DYNAMIC WITH HOLD WITH ROW SET POSITIONING However, the host requires READ ONLY processing for the cursor because of the INNER JOIN. Similar restrictions exist for any SQL statement that will require a temp table for processing.
Problem conclusion
CSD >= s080813 module = engn_cli defect = 380078
Temporary fix
The CLI keyword CursorTypes=3 can be specified to force the client to disallow dynamic cursors, returning to the behavior in use prior to enabling v8 NFM on the z/OS host.
Comments
APAR Information
APAR number
JR28746
Reported component name
DB2 CUE WINDOWS
Reported component ID
5724B6201
Reported release
810
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt
Submitted date
2008-03-18
Closed date
2008-09-21
Last modified date
2008-09-21
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 CUE WINDOWS
Fixed component ID
5724B6201
Applicable component levels
R810 PSY
UP
R820 PSY
UP
[{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSEPGG","label":"Db2 for Linux, UNIX and Windows"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"810","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}}]
Document Information
Modified date:
21 September 2008